Tag
A pill for a value the user already committed to — a keyword, a recipient, an applied filter — optionally dismissible.
tsx
import { Tag } from "@pestoui/core"Variants
DefaultSecondaryInfoSuccessWarningDestructiveOutline
Sizes & leading mark
Two sizes. leading takes a dot, a mark or an avatar and is sized for you when it is a bare svg or img.
SmallDefaulttopicGeneratedLive
Dismissible
Passing onDismiss adds the trailing X. Name the value in dismissLabel — a row of tags all announcing “Remove” tells a screen reader nothing.
design-systemonboardingbillingresearch
Props
Pesto UI · 117 documented components