import { CNavbar } from '@coreui/react'// orimport CNavbar from '@coreui/react/src/components/navbar/CNavbar'| Property | Description | Type | Default |
|---|---|---|---|
| className | A string of all className you want applied to the component. | string | - |
| color | Sets the color context of the component to one of CoreUI’s themed colors. | 'primary' | 'secondary' | 'success' | 'danger' | 'warning' | 'info' | 'dark' | 'light' | string | - |
| colorScheme | Sets if the color of text should be colored for a light or dark dark background. | 'dark' | 'light' | - |
| component | Component used for the root node. Either a string to use a HTML element or a component. | string | ComponentClass<any, any> | FunctionComponent<any> | - |
| container | Defines optional container wrapping children elements. | boolean | 'sm' | 'md' | 'lg' | 'xl' | 'xxl' | 'fluid' | - |
| expand | Defines the responsive breakpoint to determine when content collapses. | boolean | 'sm' | 'md' | 'lg' | 'xl' | 'xxl' | - |
| placement | Place component in non-static positions. | 'fixed-top' | 'fixed-bottom' | 'sticky-top' | - |
On this page