<!-- generated by scripts/gen-docs.mjs from docs/system/chip-row.md. Edit the source and rerun. -->
# ChipRow

## Description
Narrows a list to one of any number of choices, each a link to the same page with that choice in its address, in a row that scrolls sideways.

`import { ChipRow, useScrollRow, useScrollPager, scrollRowFade, type Chip } from "@/components/cobalt/ui/chip-row"`, source `registry/cobalt/ui/chip-row.tsx`, status `ready-with-gaps`.
Foundation: `hand-rolled`. Traps checked: `trap/current-unmarked` (ARIA: `aria-current="true"` on the current chip, test), `trap/narrow-hidden-nav` (States, scrolling: the 32px fade at each edge with more chips past it is the cue, in either direction, and the current chip starts in view, Limits, `rule/chip-row-current-in-view`), `trap/link-cue` (States, default: every chip is a filled pill, so its cue is the fill, not an underline), `trap/weight-shift` (States, current: the current chip keeps the rest chips' `font-medium`; only the fill changes, so no chip changes width), `trap/link-as-button` (Usage, `rule/chip-row-chips-are-links`: a chip is an `<a href>` drawn as a pill, the Pill's one shape for a choice, and it navigates), `trap/tabs-routes` (Usage, `rule/chip-row-chips-are-links`: a `role="group"` of links, never a tablist), `trap/safe-area` (n/a, the row sits in the page flow and bleeds into the gutter, not under a notch), `trap/external-glyph-internal` (n/a, no glyph), `trap/hover-unguarded` (States, hover: Tailwind's `hover:` sits under `(hover: hover)`, nothing revealed), `trap/motion-origin`, `trap/motion-frequent`, `trap/motion-layout-property`, `trap/reduced-motion-ignored` (Motion: the `pressable` tint and the colour change on `--t-press` are the only motion, and the tint is instant under reduce; the scroll is the browser's), `trap/list-dead-gap` (States, default: the 6px gap belongs to no chip, by design, so the hover ends at the chip's round edge).

### Foundation
| Given by the foundation | Added by the team |
|---|---|
| Not applicable: hand-rolled | A `role="group"` named by `label`, `flex` with `overflow-x-auto`, the scrollbar hidden, `gap-1.5`, bleeding `--gutter` into the phone's page margin so a chip scrolled past leaves at the screen edge, with a 32px `mask-image` fade at each edge that has chips past it, at every width and in either direction, set by `useScrollRow` and drawn by `scrollRowFade` (D7); the current chip scrolled into view before the first paint, clear of the fade, so a shared link to the ninth region opens with that chip showing; each chip at most the row less both fades wide, its label cut with an ellipsis and whole in `title`, with `dir="auto"` so it is cut at its own end; the vertical `py-1` and `-my-1`, and from 640px up `px-1` and `-mx-1`, so no chip's focus ring is clipped by the overflow, the end chips' included, and a chip that takes focus while partly past an edge or under the fade scrolls fully into view; each chip an `<a href>` through `renderLink` from `registry/cobalt/lib/link.tsx` (D5, D19), drawn with `pillClasses(active)` from the Pill at `min-h-(--control-sm)`, the chip height (D18, D20); `aria-current="true"` on the chip whose `value` equals `current`; the `Chip<Value>` type, so `current` can only be one of the chips' values |

## Examples
Seven regions, one current, each a link to its own query string; at 390px the row scrolls and fades at the edge with more chips past it.

Real uses, 0 call sites (`rg -n "<ChipRow\b" app registry --glob '!registry/cobalt/ui/*'`): the showcase filters nothing by a query string yet, and the examples folder does not count.

Uses inside the registry: none. It borrows `pillClasses` and `pillLabel` from the Pill, `registry/cobalt/ui/chip-row.tsx:193-194`. Nav borrows `useScrollRow` and `scrollRowFade` from it, `registry/cobalt/ui/nav.tsx:6`.

### Example files
| File | Covers | Caption |
|---|---|---|
| `docs/system/examples/chip-row/default.tsx` | default | Region chips under a section heading narrow the list below: one chip is current, each is a link, and the row scrolls sideways where the chips do not fit, as on a phone |
| Not applicable: the current chip is in every example, the ink fill | state:current | `aria-current="true"`, the ink fill with light text |
| Not applicable: hover is reached with the pointer on any example | state:hover | The grey fill one step deeper on a rest chip; the ink fill at 85 percent on the current one |
| Not applicable: focus-visible is reached with the keyboard on any example | state:focus-visible | The 2px ring, which the row's vertical padding leaves room for |
| Not applicable: pressed is the `--hover` tint while the pointer is down on any example | state:pressed | The press tint over the fill |
| `docs/system/examples/chip-row/long-row.tsx` | state:scrolling | Opened on Oceania, the last of seven chips, the row starts scrolled so the current chip is in view, with a fade at the edge that has more |
| `docs/system/examples/chip-row/default.tsx` | composition:Section | Under the section's heading, above the count it narrows |

Example: Region chips under a section heading narrow the list below: one chip is current, each is a link, and the row scrolls sideways where the chips do not fit, as on a phone (`docs/system/examples/chip-row/default.tsx`)

```tsx
import { useState, type MouseEvent } from "react";

import { ChipRow } from "@/components/cobalt/ui/chip-row";
import { Section } from "@/components/cobalt/ui/section";
import type { LinkProps } from "@/lib/cobalt/link";

const regions = ["Everywhere", "Europe", "Americas", "Asia", "Africa", "Oceania"] as const;

type Region = (typeof regions)[number];

// Fund managers already loaded for each region, so a chip answers at once.
const managers: Record<Region, number> = {
  Everywhere: 1_284,
  Europe: 412,
  Americas: 585,
  Asia: 221,
  Africa: 19,
  Oceania: 47,
};

export default function Example() {
  const [current, setCurrent] = useState<Region>("Europe");
  // A router would read the region from the URL; here a click sets it in place.
  const renderLink = ({ href, children, ...props }: LinkProps) => (
    <a
      href={href}
      {...props}
      onClick={(event: MouseEvent) => {
        event.preventDefault();
        setCurrent(decodeURIComponent(href.replace("?region=", "")) as Region);
      }}
    >
      {children}
    </a>
  );
  return (
    // The padding stands in for the page's gutter, which the row bleeds into. The row takes the
    // frame's width, so it scrolls only where the chips do not fit, as on a phone.
    <div className="w-full min-w-0 px-4">
      <Section id="example-chip-row" heading="Fund managers">
        <ChipRow
          label="Region"
          current={current}
          renderLink={renderLink}
          chips={regions.map((region) => ({
            value: region,
            label: region,
            href: `?region=${encodeURIComponent(region)}`,
          }))}
        />
        <p className="text-sm text-muted-foreground tabular-nums">
          {managers[current].toLocaleString("en")} fund managers
          {current === "Everywhere" ? "" : ` in ${current}`}
        </p>
      </Section>
    </div>
  );
}
```

Example: Under the section's heading, above the count it narrows (`docs/system/examples/chip-row/default.tsx`)

```tsx
import { useState, type MouseEvent } from "react";

import { ChipRow } from "@/components/cobalt/ui/chip-row";
import { Section } from "@/components/cobalt/ui/section";
import type { LinkProps } from "@/lib/cobalt/link";

const regions = ["Everywhere", "Europe", "Americas", "Asia", "Africa", "Oceania"] as const;

type Region = (typeof regions)[number];

// Fund managers already loaded for each region, so a chip answers at once.
const managers: Record<Region, number> = {
  Everywhere: 1_284,
  Europe: 412,
  Americas: 585,
  Asia: 221,
  Africa: 19,
  Oceania: 47,
};

export default function Example() {
  const [current, setCurrent] = useState<Region>("Europe");
  // A router would read the region from the URL; here a click sets it in place.
  const renderLink = ({ href, children, ...props }: LinkProps) => (
    <a
      href={href}
      {...props}
      onClick={(event: MouseEvent) => {
        event.preventDefault();
        setCurrent(decodeURIComponent(href.replace("?region=", "")) as Region);
      }}
    >
      {children}
    </a>
  );
  return (
    // The padding stands in for the page's gutter, which the row bleeds into. The row takes the
    // frame's width, so it scrolls only where the chips do not fit, as on a phone.
    <div className="w-full min-w-0 px-4">
      <Section id="example-chip-row" heading="Fund managers">
        <ChipRow
          label="Region"
          current={current}
          renderLink={renderLink}
          chips={regions.map((region) => ({
            value: region,
            label: region,
            href: `?region=${encodeURIComponent(region)}`,
          }))}
        />
        <p className="text-sm text-muted-foreground tabular-nums">
          {managers[current].toLocaleString("en")} fund managers
          {current === "Everywhere" ? "" : ` in ${current}`}
        </p>
      </Section>
    </div>
  );
}
```

## Variants
Not applicable: one look, the Pill's chip at `--control-sm`. `ChipRow` has no variant axis, and `className` is for placement.

## States
| State | Trigger | What the user can do | Shown by, besides color | Checked by |
|---|---|---|---|---|
| default | render | follow a chip, focus one, scroll the row | a `role="group"` of 32px pills, each an `<a href>` | test |
| current | a chip's `value` equals `current` | follow the other chips | `aria-current="true"`, the ink fill with light text at the same weight (G-09, answered: one weight) | test |
| hover | pointer over a chip, under `(hover: hover)` | follow it | pointer only, the fill one step deeper on `--t-press`; no shape change | by hand |
| focus-visible | keyboard focus on a chip | follow it with Enter | the 2px ring, unclipped by the overflow | by hand |
| pressed | pointer down on a chip | release to follow | the `--hover` tint over the fill while the pointer is down | by hand |
| scrolling | the chips run past the row's width | drag or swipe the row, scroll it with Shift and the wheel | each edge with chips past it fading over 32px, at every width and in either direction, the scrollbar hidden; the current chip in view on load | screenshot |

Example: Opened on Oceania, the last of seven chips, the row starts scrolled so the current chip is in view, with a fade at the edge that has more (`docs/system/examples/chip-row/long-row.tsx`)

```tsx
import { useState, type MouseEvent } from "react";

import { Card, CardContent, CardHeader, CardTitle } from "@/components/cobalt/ui/card";
import { ChipRow } from "@/components/cobalt/ui/chip-row";
import type { LinkProps } from "@/lib/cobalt/link";

const regions = ["Everywhere", "Europe", "North America", "South America", "Asia", "Africa", "Oceania"];

// The two soonest events in each region, so the list under the chips keeps its height.
const events: Record<string, { title: string; day: string }[]> = {
  Everywhere: [
    { title: "London stewardship briefing", day: "Nov 4" },
    { title: "Toronto pension roundtable", day: "Nov 6" },
  ],
  Europe: [
    { title: "London stewardship briefing", day: "Nov 4" },
    { title: "Frankfurt bond outlook", day: "Nov 10" },
  ],
  "North America": [
    { title: "Toronto pension roundtable", day: "Nov 6" },
    { title: "Chicago credit forum", day: "Nov 13" },
  ],
  "South America": [
    { title: "Santiago infrastructure day", day: "Nov 17" },
    { title: "Bogotá markets breakfast", day: "Nov 26" },
  ],
  Asia: [
    { title: "Singapore family office summit", day: "Nov 24" },
    { title: "Tokyo governance forum", day: "Dec 1" },
  ],
  Africa: [
    { title: "Nairobi impact investing day", day: "Nov 20" },
    { title: "Lagos private equity forum", day: "Dec 3" },
  ],
  Oceania: [
    { title: "Sydney fund managers forum", day: "Nov 12" },
    { title: "Auckland private credit day", day: "Nov 19" },
  ],
};

export default function Example() {
  // As after a shared link to ?region=Oceania; a router would read it from the URL.
  const [current, setCurrent] = useState("Oceania");
  const renderLink = ({ href, children, ...props }: LinkProps) => (
    <a
      href={href}
      {...props}
      onClick={(event: MouseEvent) => {
        event.preventDefault();
        setCurrent(decodeURIComponent(href.replace("?region=", "")));
      }}
    >
      {children}
    </a>
  );
  return (
    // A side-column card, too narrow for every region at once.
    <Card size="sm" className="w-full max-w-xs">
      <CardHeader>
        <CardTitle>Events</CardTitle>
      </CardHeader>
      <CardContent className="flex flex-col gap-3">
        <ChipRow
          label="Region"
          current={current}
          renderLink={renderLink}
          chips={regions.map((region) => ({
            value: region,
            label: region,
            href: `?region=${encodeURIComponent(region)}`,
          }))}
        />
        <ul aria-label={`Events in ${current}`} className="flex flex-col gap-2 text-sm">
          {(events[current] ?? []).map((event) => (
            <li key={event.title} className="flex justify-between gap-3">
              <span className="min-w-0 truncate">{event.title}</span>
              <span className="shrink-0 text-muted-foreground tabular-nums">{event.day}</span>
            </li>
          ))}
        </ul>
      </CardContent>
    </Card>
  );
}
```

### State precedence
- Current and hover: current wins the fill, and both show. The ink fill goes to 85 percent under the pointer and the text stays inverted (D9).
- Current and focus-visible: both show. The ring draws outside the ink pill.
- Hover and focus-visible: both show. The fill is a background and the ring an outline.
- Pressed and hover: both show. The tint sits over the deeper fill.
- Scrolling and current: both show. The row jumps to the current chip before the first paint and whenever `current` or the chips change, so it is never past the edge or under a fade; it never slides there.
- Scrolling and focus-visible: both show. Tab moves focus to a chip past the edge and the browser scrolls it into view.

### Motion
| Trigger | Kind | Preset | Properties | Reduced motion |
|---|---|---|---|---|
| pointer-down to pointer-up | input | `pressable`, `--t-press` (140ms) on `--curve` | box-shadow, color | `box-shadow` is not in the reduced-motion list, so the press tint is instant; the colour change stays |
| pointer over and out | announce | `--t-press` on `--curve` | background-color, color | the same colour change |
| the row scrolls | input | the browser's own scroll, no preset | scroll position | the same, under your finger or wheel |
| the current chip changes | announce | an instant jump before paint, no preset | scroll position | the same, since nothing animates |

## Props

<!-- Props generated from registry/cobalt/ui/chip-row.tsx with TypeScript by scripts/props-table.mjs -->
| Prop | Type | Default | Purpose |
|---|---|---|---|
| `chips` | `readonly Chip<Value>[]` |  |  |
| `current` | `Value` |  |  |
| `label` | `string` |  |  |
| `className?` | `string` |  |  |
| `renderLink?` | `RenderLink` | `defaultLink` |  |

`ChipRow` takes `chips` (`readonly Chip<Value>[]`, each with `value`, `label` and `href`), `current` (one of the chips' `value`s; nothing is marked when it matches none), `label` (the group's accessible name), `renderLink` (`RenderLink` from `registry/cobalt/lib/link.tsx`, a plain anchor by default) and `className` for placement. It forwards no native attributes. `useScrollRow(ref, deps, current?)` gives any sideways-scrolling row the same behaviour: it brings the current item (`aria-current`, or the `current` selector, as Tabs pass `[aria-selected=true]`) into view clear of the fade, at once before the first paint and smoothly when it changes later, through `deps` or a change of `aria-current` or `aria-selected` in the row, marks the edges with more past them, and returns the `onScroll` and `onFocus` handlers to spread on the row, the focus one acting on keyboard focus only, so a press never jumps the row; `scrollRowFade` is the class string that draws the fades from those marks. `useScrollPager(ref)` pages a row of cards with a section's arrows: it returns `atStart` and `atEnd`, both true when every card fits, and `page(1)` or `page(-1)`, which scrolls by every whole card in view less one, measured from either end so a right-to-left row pages the same way, and jumps instead of sliding under reduced motion; see `docs/system/examples/page-layout/default.tsx`.

## Usage

### When to use
- A list is narrowed by one choice from a set that can be any length: places, regions, kinds, years.
- The choice belongs in the address, so the narrowed list can be shared and reloaded.

### When not to use
- The choice has 2 or 3 fixed options. Use SegmentedControl instead.
- More than one choice can be on at once, or the choice is not a link. Use Pill instead.
- The chips move between pages of the app. Use Nav instead.
- The set is longer than 12 or needs search. Use Select instead, or Combobox when a person types to find one.

### Rules
- `rule/chip-row-chips-are-links`: When a chip is chosen, give it an `href` that is the same page with the choice in its query string, and the host's `Link` through `renderLink`, instead of an `onClick` that sets state, because the narrowed list then has an address to share, reload and open in a new tab, and the chips read as links, not tabs. Evidence: person D5; person D19; single use registry/cobalt/ui/chip-row.tsx:12, the `href` doc says where a chip goes, and it generalizes because every filter is a view of one list. Check: test `chip-row.test.tsx` renders every chip as `<a href>` through the host's link and finds no `<button`.
  - Don't: `<ChipRow label="Region" current={region} chips={regions.map((r) => ({ value: r, label: r, href: "#" }))} renderLink={({ children }) => <button onClick={() => setRegion(children)}>{children}</button>} />`
  - Do: `<ChipRow label="Region" current={region} chips={regions.map((r) => ({ value: r, label: r, href: `?region=${encodeURIComponent(r)}` }))} renderLink={renderLink} />`
- `rule/chip-row-everywhere-first`: When the row narrows a list, put a chip for the whole list first, such as "Everywhere" or "All", and make it `current` when no choice is in the address, because a row with nothing current shows no state, and the first chip is the way back from any choice without a clear control. Evidence: principle heuristic: user control and freedom, a way out that needs no extra control; principle heuristic: visibility of system status, one chip is always on. Check: test `chip-row.test.tsx` finds no `aria-current` when `current` matches no chip; review of every `chips` array's first entry.
  - Don't: `<ChipRow label="Region" current={region ?? ""} chips={["Europe", "Asia"].map(toChip)} />`
  - Do: `<ChipRow label="Region" current={region ?? "Everywhere"} chips={["Everywhere", "Europe", "Asia"].map(toChip)} />`
- `rule/chip-row-one-current`: When `current` is set, it equals exactly 1 chip's `value`, typed through `Chip<Value>`, instead of a free string, because the row marks the one chip whose value matches and nothing else, so two chips with one value would both read as current. Evidence: single use registry/cobalt/ui/chip-row.tsx:160, `current` is typed as the chips' `Value`, which generalizes to every host through the type; principle wcag: 4.1.2 Name, role, value, one element is current. Check: lint through `pnpm typecheck`, which fails a `current` outside the chips' values when they are a literal union; test `chip-row.test.tsx` counts one `aria-current`.
  - Don't: `<ChipRow<string> label="Region" current="Eur" chips={chips} />`
  - Do: `<ChipRow label="Region" current={region} chips={chips} />` with `region: (typeof regions)[number]`
- `rule/chip-row-bleeds-the-gutter`: When the row sits in the page column on a phone, let it keep its `-mx-(--gutter)` bleed and put no horizontal padding or `overflow-hidden` on a wrapper around it, because a chip scrolled past then leaves at the screen edge and the fade sits at the edge, while a clipping wrapper cuts the focus ring and the fade. Evidence: single use registry/cobalt/ui/chip-row.tsx:175, the comment names the bleed and the ring's room; measured the row at 310px inside a 390px viewport with `margin-left: -16px` and the fade over 32px, `.design-system/evidence/chip-row/grow-count-390.json`. Check: review of the element around every `ChipRow`.
  - Don't: `<div className="overflow-hidden px-4"><ChipRow label="Region" current={region} chips={chips} /></div>`
  - Do: `<ChipRow label="Region" current={region} chips={chips} />`

### Content
- Follows `rule/writing-link-object`.
- `rule/chip-row-label-is-a-noun`: When a chip is labelled, write the choice as a noun of 1 or 2 words in sentence case, such as "North America", at most 13 characters, with no verb and no count, because three 13-character chips already fill the 310px column at 390px, and a count changes the chip's width every time the list changes. Evidence: person D11; measured 122px for "North America" and the row scrolling from the 3rd such chip at 390, `.design-system/evidence/chip-row/grow-count-390.json`. Check: review of every chip label.
  - Don't: `{ value: "eu", label: "Show Europe (12)", href: "?region=eu" }`
  - Do: `{ value: "eu", label: "Europe", href: "?region=eu" }`

### Anti-slop
- `rule/chip-row-no-wrap`: When an agent adds `flex-wrap` through `className` so every chip is visible, leave the row scrolling, because a filter row that grows a second line moves everything under it on every choice, and the fade already says more chips lie past the edge. Evidence: single use registry/cobalt/ui/chip-row.tsx:146, the source says why it scrolls; measured the fade at 32px as the cue, `.design-system/evidence/chip-row/grow-count-390.json`. Check: lint rule/component-override (scripts/check-system.mjs).
  - Don't: `<ChipRow label="Region" current={region} chips={chips} className="flex-wrap" />`
  - Do: `<ChipRow label="Region" current={region} chips={chips} />`
- `rule/chip-row-no-x-in-the-chip`: When an agent puts an X inside the current chip to remove the choice, leave the chip with `aria-current` as one link and let the first chip be the way back, because an X inside a chip is a second target of under 24px, and the whole-list chip removes the choice with a full 32px target. Evidence: principle wcag: 2.5.8 Target size (minimum), 24px for every target; principle heuristic: user control and freedom. Check: review of every `renderLink` passed to `ChipRow`.
  - Don't: `renderLink={({ children, ...p }) => <a {...p}>{children}{p["aria-current"] && <XIcon className="size-3" />}</a>}`
  - Do: `renderLink={({ href, children, ...p }) => <Link to={href} {...p}>{children}</Link>}`
- `rule/chip-row-no-shadow-no-border`: When an agent gives the chips a border, a shadow or the accent fill when current through `className` or `renderLink`, pass neither, because chips are flat controls, and a choice that is on is the ink fill with light text, never the accent. Evidence: person D11; person D13; person D18. Check: lint rule/component-override (scripts/check-system.mjs).
  - Don't: `renderLink={({ className, ...p }) => <a {...p} className={cn(className, "border shadow-sm aria-[current]:bg-primary")} />}`
  - Do: `renderLink={({ href, children, ...p }) => <Link to={href} {...p}>{children}</Link>}`

### Limits
- `rule/chip-row-current-in-view`: When the current chip is far along the row, such as the 9th of 14 regions after a shared link or a reload, keep the order the list uses and let the row bring it into view, instead of moving the current chip to the front, because `useScrollRow` scrolls the current chip clear of the fade before the first paint, and an order that changes with the choice moves every chip under the hand. Evidence: measured the 9th of 14 chips in view on load at 320px and at real width, left to right and right to left, docs/research/2026-10-16-break-ui-display.md; single use registry/cobalt/ui/chip-row.tsx:69, the scroll to the current chip. Check: probe docs/system/stress/chip-row.tsx on the break-ui harness, worst case at 320px in both directions; review of every `chips` array reordered by `current`.
  - Don't: `<ChipRow label="Region" current={region} chips={[region, ...regions.filter((r) => r !== region)].map(toChip)} />`
  - Do: `<ChipRow label="Region" current={region} chips={regions.map(toChip)} />`
- `rule/chip-row-label-length`: When a label would run past 33 characters at 390px, shorten it instead, because a chip is at most the row less both 32px fades wide, so past 33 characters in the 310px column its label is cut with an ellipsis and read whole only in `title`. Evidence: measured 122px for a 13-character chip, `.design-system/evidence/chip-row/grow-count-390.json`, so 33 characters fill the 246px between the fades; measured "Sub-Saharan Africa (excluding South Africa)" cut at 320px and whole at real width, docs/research/2026-10-16-break-ui-display.md. Check: probe docs/system/stress/chip-row.tsx on the break-ui harness, worst case at 320px; review of every chip label.
  - Don't: `{ value: "na", label: "North America and the Caribbean islands together", href: "?region=na" }`
  - Do: `{ value: "na", label: "North America", href: "?region=na" }`

## Accessibility
Rests on a `role="group"` named by `label`, holding plain `<a href>` links, with `aria-current="true"` on the current one.

### Keyboard
| Key | Where focus is | Effect | Focus after | Checked by |
|---|---|---|---|---|
| Tab and Shift+Tab | before, inside or after the row | moves through the chips in order, scrolling a chip past the edge or under a fade fully into view | the next or previous chip | by hand |
| Enter | a chip | follows it; the router loads the narrowed list and `aria-current` moves with `current` | where the router puts it, the same page narrowed | by hand |
| Space | a chip | nothing, since a chip is a link | the chip | by hand |
| Shift and the wheel, or a horizontal swipe | the row | scrolls the row | unchanged | by hand |

### ARIA
| Part | Role | Accessible name from | States and properties | Announced | Checked by |
|---|---|---|---|---|---|
| row | group | `aria-label` from `label` | none | "Region, group" on entering | test |
| chip | link | its text | `aria-current="true"` on the current one, `href` | "link, Europe, current" on the current one | test |

## Tokens
| Part | State | Token |
|---|---|---|
| row | all | `--gutter`, `--spacing` for the 32px fade |
| chip | all | `--control-sm` through `min-h-(--control-sm)`, `--r-lg` through `rounded-lg`, `--t-press`, `--curve`, `--ring` |
| chip | rest | `--muted`, `--foreground` |
| chip | hover | `--muted-hover` |
| chip | current | `--foreground` as the fill, `--background` as the text |

## Related
- Pill: the control the chips borrow, for a choice that is on or off without navigating.
- SegmentedControl: two or three fixed options in one track.
- Select: one value from a long list, shown in the trigger.
- Nav: the way between sections, not a filter.
