Navbars
We restyled the classic Bootstrap Navbar.
To use the navbar, first import it:
import {Navbar} from 'src/components'
Global usage
Vue.component(Navbar)
Local usage
export default {
components: {
Navbar
}
}
Primary navbar
TIP
showMenu property applies only on small viewport (mobile). Shrink the browser to see that in action
TIP
You can change navbar color with the type prop.
Colored navbars
Navbar Props
Slots
| Name | Description |
|---|---|
| default | Navbar left side content (brand and toggle button ) |
| navbar-menu | Content of the navbar (right on desktop, dropdown menu on mobile) |