Skip to content

Tag

The Tag component renders Bulma’s tag element — a small badge for labels, statuses, or counts.

Default
<Tag>Default</Tag>
PrimaryLinkInfoSuccessWarningDangerDarkLight
<Tag color="primary">Primary</Tag>
<Tag color="link">Link</Tag>
<Tag color="info">Info</Tag>
<Tag color="success">Success</Tag>
<Tag color="warning">Warning</Tag>
<Tag color="danger">Danger</Tag>
<Tag color="dark">Dark</Tag>
<Tag color="light">Light</Tag>
SmallNormalMediumLarge
<Tag size="small" color="info">Small</Tag>
<Tag color="info">Normal</Tag>
<Tag size="medium" color="info">Medium</Tag>
<Tag size="large" color="info">Large</Tag>
Primary lightDanger light
<Tag color="primary" light>Primary light</Tag>
<Tag color="danger" light>Danger light</Tag>
RoundedRounded
<Tag color="info" rounded>Rounded</Tag>

When isDelete is set, the tag renders as a delete/close button with no slot content.

Label
<div class="tags">
<Tag>Label <Tag isDelete /></Tag>
</div>
PropTypeDefaultDescription
color"primary" | "link" | "info" | "success" | "warning" | "danger" | "light" | "dark" | "white" | "black"Bulma color modifier.
size"small" | "normal" | "medium" | "large"Size modifier.
lightbooleanLight variant.
roundedbooleanRounded pill shape.
isDeletebooleanRenders as a delete/close button (no slot content).
titlestringTooltip title attribute.
classstringExtra CSS classes.
...*Any other HTML span attributes.