Components

Filter chips

Single-choice row of buttons for filtering a list.

components/ui/FilterChips.tsx

Live preview

Tokens it uses

--radius-control
px

Anything you click or type into.

In radius

--line

Dividers, input borders, chip borders, nav and footer rules.

In colors

--ink

Main text, headings and active nav links.

In colors

--btn-bg

Solid buttons, and the border and hover fill of outline buttons.

In colors

--btn-ink

Text on solid buttons and selected chips.

In colors

--fs-label
px

Small labels, chips and form labels.

In typography

--label-tracking
em

Spacing between letters in labels.

In typography

--label-case

All caps or as written.

In typography

Where it’s used

Works with

  • Playground rowFilters the Playground rows by category.
  • View toggleShares the row and the selected-state colours.
  • ButtonShares control radius and the button colour pair.

Shared tokens

These components share tokens with Filter chips, so editing a shared token changes them together — that’s what keeps the interface cohesive.

  • Contact formshares Buttons, chips and inputsHairlines and bordersTextLabel sizeLabel letter-spacingLabel caseButton fillButton text
  • Top barshares TextHairlines and bordersButton fillButton textButtons, chips and inputs
  • Playground rowshares Hairlines and bordersTextLabel sizeLabel letter-spacingLabel case
  • View toggleshares Buttons, chips and inputsHairlines and bordersTextButton fillButton text
  • Footershares Hairlines and bordersButton fillButton textButtons, chips and inputs
  • Section introshares Label sizeLabel letter-spacingLabel caseText
  • Project cardshares TextLabel sizeLabel letter-spacingLabel case
  • Buttonshares Button fillButton textButtons, chips and inputs
  • Page headershares Label sizeLabel letter-spacingLabel case
  • Project windowshares TextHairlines and bordersButtons, chips and inputs
  • Contact linksshares TextHairlines and bordersButtons, chips and inputs
  • Type testershares Hairlines and bordersText
  • Your-version pillshares Text
  • Back linkshares Text
  • Logo rowshares Text
  • Say hishares Text
  • Case study layoutshares Text