Skip to main content

Tag

<sc-tag></sc-tag>

This component let users create tag.

Sample TagSample TagSample Tag

Component Codex

Properties

PropertyDescriptionTypeDefault
clearableMakes the tag clearable.booleanfalse
pillDraws a pill-style tag with rounded edges.booleanfalse
sizeThe tag's size."large" | "medium" | "small"'medium'
typeThe tag's type."danger" | "default" | "info" | "primary" | "success" | "warning"'default'

Events

EventDescriptionType
scClearCustomEvent<ScTag>

Shadow Parts

PartDescription
base
content