Skip to content
On this page

Tag

Used for marking and selection.

Usage

type

Use the type attribute to define Tag's type.

tag
tag
tag

state

You can define different states.

tag
tag
tag
tag

shape

Predefined the shape of the Tag.

rounded
pilled

closable

Use the closable attribute to define a removable tag.

tag
tag
tag

indicator

Use an indicator appearance to show indication.

tag
tag
tag

Props

NameTypeDefaultDescription
typesolid | outline | softsolidSet custom type attribute.
colorblue | teal | red | yellow | gray | deepGraytealSet tag color.
shaperounded | pilledroundedSet tag shape.
closablebooleanfalseUse the closable attribute to define a removable tag.
indicatorbooleanfalseUse an indicator appearance to show indication.

MIT Licensed