Since0.7.6
Button
The classic button, in different colors, sizes, and states
# Types and states
# Sizes
# Icons
# Router
# API
Name | Description | Type | Values | Default |
---|---|---|---|---|
type | Type (color) of the control, 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 | — |
size | Vertical size of button, optional | String | is-small , is-medium , is-large | — |
label | Button label, optional when default slot | String | — | |
loading | Add the loading state to the button | Boolean | — | false |
rounded | Rounded style | Boolean | — | false |
outlined | Outlined style | Boolean | — | false |
focused | Focused style | Boolean | — | false |
inverted | Inverted style | Boolean | — | false |
hovered | Hovered style | Boolean | — | false |
active | Active style | Boolean | — | false |
selected | Selected style | Boolean | — | false |
expanded | Button will be expanded (full-width) | Boolean | — | false |
icon-left | Icon name to show on the left | String | — | — |
icon-right | Icon name to show on the right | String | — | — |
icon-pack | Icon pack to use | String | mdi , fa , fas , far , fad , fal | mdi |
native-type | Button type, like native | String | Any native button type | button |
tag | Button tag name | String | button , a , input , router-link , nuxt-link or other nuxt alias | button |
Any native attribute | — | — | — | — |
# Variables
You can use these variables to customize this component.
Name | Default |
---|---|
Bulma variables | Link |
This page is open source. Noticed a typo or something's unclear?