Skip to content
Frauthy Brand
Frauthy index

Go anywhere.

    No exact contract found. Try a component family, product name, prop, or keyboard key.

    ↑↓ move↵ openesc close

    Tag

    presentational

    Compact labelled token for metadata, status, and active filters. Tags can be static labels or removable chips with a native button affordance.

    Preview

    Variants
    StableBetaTrialBlocked
    Sizes
    SmallMediumDisabled
    Removable chip
    region: west

    Usage

    import { Tag } from 'PRIVATE_BETA_PACKAGE_COORDINATE_REDACTED';
    
    <Tag label="Beta" variant="accent" />
    
    <Tag label="Blocked" variant="danger" size="sm" />
    
    <Tag
      label="region: west"
      variant="accent"
      removable
      onRemove={handleRemove}
    />

    Props

    PropTypeDefaultDescription
    labelstringrequiredVisible tag text and remove button label source.
    variant'neutral' | 'accent' | 'warm' | 'danger''neutral'Visual variant.
    size'sm' | 'md''md'Size preset.
    removablebooleanfalseShows a remove button. Also enabled when onRemove is provided.
    disabledbooleanfalseDisables the remove affordance and dims the tag.
    onRemove(event: MouseEvent | KeyboardEvent) => void--Called when the remove affordance is activated.
    classstring--Additional CSS classes.

    Accessibility

    Do / Don't

    Do

    Use short labels for status, metadata, and active filters that benefit from scanning.

    Don't

    Don't put long sentences or primary actions inside tags. Use regular text and buttons for those.