# Chip group

Pick several topics or filters, optionally ranked.

Import from `@a31labs/rax/chip-group`.

## Usage

```tsx
<ChipGroup label="Topics" value={tags} onValueChange={setTags} items={topics} ordered />
```

## Rules

Props: `value` (string array), `onValueChange`, `items` (`{ value, label, count }`), `label` (group name), `ordered`. Multi-select toggle chips for filters and interests: `h-ctl-sm` high, fully round, `line-strong` outline, 14px weight 500, the count in ink-2 tabular. Pressed chips get an accent-soft fill, an `accent-line` border and a check icon. The value array keeps click order; with `ordered` a pressed chip shows its position number instead of the check.

Page: https://rax.a31.at/components/chip-group
