# Navbars
We restyled the classic Bootstrap Navbar.
To use the navbar, first import it:
import {Navbar} from 'src/components'
1
Global usage
Vue.component(Navbar)
1
Local usage
export default {
components: {
Navbar
}
}
1
2
3
4
5
2
3
4
5
# 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
# Navbar 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) |