Badges are handy if you want to show users useful notifications.
They are perfect in a list block for example. Bulkit badges have two
main shapes : square, wich is default, and rounded. Add the
.rounded
class to a .b-badge
element to
make its edges rounded.
Bulkit badges can have several solid colors. Available classes are
.is-primary
, .is-secondary
,
is-accent
, .is-success
,
.is-warning
, .is-danger
, and
.is-info
. Add one of these classes to a
.b-badge
element to change its color.
Bulkit badges can be outlined. Add the.badge-outlined
class to a .b-badge
to make a badge outlined. Several
colors are available. Available classes are
.is-primary
, .is-secondary
,
is-accent
, .is-success
,
.is-warning
, .is-danger
, and
.is-info
. Add one of these classes to a
.b-badge
element to change its color.
Bulma badges are an extension to the main framework. They are
positionned via pseudo elements. Add the .badge
class
to an html element like a button to create a badge on its top right
corner. Then, use the data-badge=""
attribute to set
its value.
Bulma badges can have several solid colors. Available classes are
.badge-primary
, .badge-secondary
,
badge-accent
, .badge-success
,
.badge-warning
, .badge-danger
, and
.badge-info
. Add one of these classes to a
.badge
element to change its color.
Bulma badges can be outlined. Add the
.is-badge-outlined
class to a
.badge
element to make it oulined. Colors apply the
same way than in the above example.
Badges are available in different sizes :
.is-badge-small
, .is-badge-medium
,
.is-badge-large
.
Ribbons are also an extension of Bulma framework. Ribbons extend
Bulma's .box
component. It display a small ribbon with
text in a chosen corner. Add the .has-ribbon
class to a
box to display a ribbon in the top right corner. Ribbons have many
colors. Available classes are .is-primary
,
.is-secondary
, is-accent
,
.is-success
, .is-warning
,
.is-danger
, and .is-info
. Add one of these
classes to a .ribbon
element to change its color.
Box content
Lorem ipsum dolor sit amet, omnes essent legendos no vix, qui everti
probatus ex.
Box content
Lorem ipsum dolor sit amet, omnes essent legendos no vix, qui everti
probatus ex.
Box content
Lorem ipsum dolor sit amet, omnes essent legendos no vix, qui everti
probatus ex.
Box content
Lorem ipsum dolor sit amet, omnes essent legendos no vix, qui everti
probatus ex.
Box content
Lorem ipsum dolor sit amet, omnes essent legendos no vix, qui everti
probatus ex.
Box content
Lorem ipsum dolor sit amet, omnes essent legendos no vix, qui everti
probatus ex.
Box content
Lorem ipsum dolor sit amet, omnes essent legendos no vix, qui everti
probatus ex.
Box content
Lorem ipsum dolor sit amet, omnes essent legendos no vix, qui everti
probatus ex.
4 sizes are available. Available classes are .is-small
,
.is-medium
, and .is-large
.
Box content
Lorem ipsum dolor sit amet, omnes essent legendos no vix, qui everti
probatus ex.
Box content
Lorem ipsum dolor sit amet, omnes essent legendos no vix, qui everti
probatus ex.
Box content
Lorem ipsum dolor sit amet, omnes essent legendos no vix, qui everti
probatus ex.
Box content
Lorem ipsum dolor sit amet, omnes essent legendos no vix, qui everti
probatus ex.
2 additionnal positions are available. Left by replacing
.has-ribbon
with .has-ribbon-left
, and
bottom by replacing .has-ribbon
with
.has-ribbon-bottom
. Note that with left and bottom
position, you might have to repoistion your content to avoid
overflow.
Box content
Lorem ipsum dolor sit amet, omnes essent legendos no vix, qui everti
probatus ex.
Box content
Lorem ipsum dolor sit amet, omnes essent legendos no vix, qui everti
probatus ex.
Box content
Lorem ipsum dolor sit amet, omnes essent legendos no vix, qui everti
probatus ex.
Tag labels can be square, rounded and outlined.
Tags can have many colors. Available classes are
.is-primary
, .is-secondary
,
is-accent
, .is-success
,
.is-warning
, .is-danger
, and
.is-info
.
Add the .is-outlined
class to a
.tag
element to make it outlined. Tags can have many
colors. Available classes are .is-primary
,
.is-secondary
, is-accent
,
.is-success
, .is-warning
,
.is-danger
, and .is-info
.
Tags are available in 3 sizes, default, .is-medium
and
.is-large
.
A .delete
element can be nested inside a tag.
Tags can be organized like a list. Wrap the
.tag
elements into a .tags
parent element.
Tags can be grouped to show more complex informations. Check the code examples for more details about structure.