Skip to content
LyEve UI v0.60.1

Feedback

Tag

A small, square-cornered chip for keywords, categories, and removable filters. Badge covers status. Tag is what you reach for when the user can add or remove items.

Tones

default brand violet success warn danger

Removable

typescript svelte tailwind cms

API

PropTypeDefaultDescription
label requiredstring no defaultTag text.
tone 'neutral' | 'brand' | 'success' | 'warn' | 'danger' | 'violet''neutral'Color role. Its type is AccentTone.
removable booleanfalseRender an × button after the label.
onremove () => void no defaultFires when the user clicks the remove button.
class string no defaultExtra classes on the wrapper.