Skip to content
On this page

Tag

Used for marking and selection.

Usage

type

Use the type attribute to define Tag's type.

state

You can define different states.

shape

Predefined the shape of the Tag.

closable

Use the closable attribute to define a removable tag.

indicator

Use an indicator appearance to show indication.

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