Vivid API

Tags

Tags are small, interactive labels used to visually group, classify, or filter criteria. Tags are wrapped with Tag Group

Tags should be wrapped by the Tag Group component to provide the correct layout and also semantic meaning.

Label

The label attribute adds label text to the Tag.

Selectable

The selectable attribute enables the selectable behaviour. Use the selected attribute to mark the Tag as selected.

Removable

The removable attribute enables the removable behaviour. Clicking the remove icon removes the Tag from the Tag Group

Appearance

The appearance attribute sets the Tag’s appearance.

Connotation

The connotation attribute sets the Tag’s connotation. It accepts a subset of predefined values.

Shape

The shape attribute sets Tag’s shape.

Icon

Use the icon slot to add an icon from the icon library to the component.

Disabled

The disabled attribute sets the disabled state.