You can use these variables to customize this component. Simply set one or multiple of these variables before importing Bulma. Learn how.
Documentation
Everything you need to start with Bulma-extensions.
Use is-rtl
to display a right-to-left design of checkbox or radio (text at left)
Don't forget to set the id
attribute on input and the for
attribute on label with the same value to get it work. This will link the label to the checkbox and then handle the click.
Please note that due to CSS limitations, the structure of the checkbox is different than the one provided as an example in Bulma's documentation.
(Input is not wrapped by the label)
You can add the is-circle
modifier to the input to get a rounded checkbox
You can add the is-block
modifier to the input to get a full colored checkbox
Adding the has-no-border
modifier to the input will remove the checkbox border
You can add the has-background-color
modifier to the input to get the checkbox background color impacted
You can use these variables to customize this component. Simply set one or multiple of these variables before importing Bulma. Learn how.
Name | Default value |
---|---|
Name | Default value |
$checkbox-radius
|
$radius
|
$checkbox-border
|
.1rem solid $grey-lighter
|
$checkbox-block-background
|
$white-ter
|
$checkradio-focus
|
1px dotted $grey-light
|