By default, a tag is a 1.5rem high label.
Tag label
Colors
#
Like with buttons, there are 10 different colors available.
Black
Dark
Light
White
Primary
Link
Info
Success
Warning
Danger
Sizes
#
And 2 additional sizes.
Modifiers
#
You can add the is-rounded
modifier to make a rounded tag.
Rounded
You can add the is-delete
modifier to turn the tag into a delete button.
Combinations
#
You can append a delete button.
You can now create a list of tags with the .tags
container.
If the list is very long, it will automatically wrap on multiple lines, while keeping all tags evenly spaced.
One
Two
Three
Four
Five
Six
Seven
Eight
Nine
Ten
Eleven
Twelve
Thirteen
Fourteen
Fifteen
Sixteen
Seventeen
Eighteen
Nineteen
Twenty
You can attach tags together with the .has-addons
modifier.
You can attach a text tag with a delete tag together.
If you want to attach .tags
containers together, simply use the .field
element with the .is-grouped
and .is-grouped-multiline
modifiers.
This can be useful for a long list of blog tags.
Variables
#
You can use
these variables
to customize this element. Simply set one or multiple of these variables before importing Bulma. Learn how.
Name |
Type |
Default value |
Computed value |
Name |
Type |
Default value |
Computed value |
$tag-background-color
|
color
|
$background
|
hsl(0, 0%, 96%)
|
$tag-color
|
color
|
$text
|
hsl(0, 0%, 29%)
|
$tag-radius
|
size
|
$radius
|
4px
|
$tag-delete-margin
|
size
|
1px
|
|