Base

Tag

Chips for keywords and filters: static, toggleable (aria-pressed) or removable.
import { Tag } from "pleate/tag";

Filters, removable, variants

LisbonWeekendUnder €500
SmallOutlineSurfaceLarge

Props

variant

Look.

"soft" | "outline" | "surface" | "accent"default "soft"

size

Height, padding and type size.

"sm" | "md" | "lg"default "md"

onClick + selected

Turns the tag into a toggle button.

onRemove / removeLabel

Adds a remove button.

icon

Leading icon.

ReactNode