Tag

Tag labels to insert anywhere

Codesandbox
Tag label Rounded tag label

Closable tags have a button that can be focused, it emits a close event when clicked or when delete key is pressed.

Closable

Codesandbox
Colored closable tag label
Attached closable tag label
Colored attached closable tag label

Taglist

Codesandbox
First Second Third Fourth Fifth

Use the attached prop to attach tags together.

Codesandbox
npm 0.2.1

API

Tag

Name Description Type Values Default
type Type (color) of the icon 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 Size of the tab String is-medium, is-large
rounded Tag border rounded, optional Boolean false
closable Add close/delete button to the tag, optional Boolean false
attached Close/delete button style equal to attached tags, optional Boolean false
ellipsis Adds ellipsis to not overflow the text, optional Boolean false
tabstop If should stop when using tab key, optional Boolean true
disabled Disable delete button, optional Boolean false


Taglist

Name Description Type Values Default
attached Tags inside are attached together, optional Boolean false