# Tile group

One choice from a few options that need a description.

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

## Usage

```tsx
<TileGroup label="Plan" value={plan} onValueChange={setPlan} items={plans} />
```

## Rules

Props: `value`, `onValueChange`, `items` (`{ value, label, description, icon, disabled }`), `label` (group name), `columns` (the most columns; tiles never go below 180px), `name`. A radio group of cards for plan or style pickers, with roving focus and arrow keys. A tile is surface with an `edge` outline, radius 10px and 16px padding; hover outline ink-3. Checked tiles get a 2px accent outline, an accent-soft fill and a check glyph in the corner. The label is the radio's name and the description is its accessible description.

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