Navbar
A responsive horizontal navbar that can support images, links, buttons, and dropdowns
# API
Navbar
Name | Description | Type | Values | Default |
---|---|---|---|---|
transparent | Remove any hover or active background from the navbar items | Boolean | — | false |
fixed-top | Fixes the navbar to the top of the page | Boolean | — | false |
fixed-bottom | Fixes the navbar to the bottom of the page | Boolean | — | false |
is-active | To control the behaviour of the mobile menu programmatically, use the .sync modifier to make it two-way binding | Boolean | — | false |
type | Type (color) of the background, optional | String, | is-white , is-black , is-light ,
is-dark , is-primary , is-info , is-success ,
is-warning , is-danger ,
and any other colors you've set in the $colors list on Sass | — |
wrapper-class | To wrap the navbar content into an div with the provided class | String | — | — |
close-on-click | Control the behavior of the mobile menu by clicking on a link or outside the menu | Boolean | true , false | true |
mobile-burger | Use to display or not the burger on mobile resolution. | Boolean | true , false | true |
spaced | Sets Top and Bottom paddings with 1rem, Left and Right paddings with 2rem | Boolean | — | false |
shadow | Add a shadow to navbar | Boolean | — | false |
Navbar Item
Name | Description | Type | Values | Default |
---|---|---|---|---|
tag | Sets the type of the component that have to render as navbar-item | String | a , router-link , div and his html attributes like href, to, etc... | a |
active | Item is active | Boolean | - | false |
Navbar Dropdown
Name | Description | Type | Values | Default |
---|---|---|---|---|
hoverable | Dropdown will be triggered by hover instead of click | Boolean | - | false |
active | Item is active | Boolean | - | false |
right | Dropdown will be anchored to the right side | Boolean | - | false |
arrowless | Show/hide arrow icon on dropdown | Boolean | - | false |
boxed | Show a boxed version of the dropdown | Boolean | - | false |
This page is open source. Noticed a typo or something's unclear?