# Meta

An inline row of facts, separated by a gap instead of a glyph.

Live variants: https://design.arcadia.is/components/meta

```tsx
import { Meta } from "@arcadia/ui";
```

```tsx
import { Meta } from "@arcadia/ui";

<Quiet>
  <Meta items={["Worked for 6s", "2h ago"]} />
  <Meta fit="wrap" items={["500K context", "Low to Extra high", "Uses credits faster"]} />
  <Meta items={["Linux", "arm64", "app"]} />
</Quiet>
```

## Accessibility

Each fact is its own element. A comma between them is clipped to a pixel, so the eye sees only the gap while a screen reader, and a copy of the line, still gets the list: "Worked for 6s, 2h ago". A fact hidden from readers (`aria-hidden`), such as a trend beside the figure that says it, takes no comma, so the list is heard with none doubled.

Do not put a separator character in the facts themselves. A title, a tooltip or a notification that cannot be a row should be a sentence or a comma list instead.

## API reference

### Meta

- `items` (`readonly ReactNode[]`): The facts, in order. Each one is rendered as its own span. Pass elements when a fact needs its own structure (an icon, a tooltip). Omit to pass them as children instead.
- `fit` (`"shrink" | "drop" | "wrap"`, default `"shrink"`): Short of room. `shrink`: the later facts give way first, each truncating in its own box. `drop`: each fact whole or not at all, the later ones going first. `wrap`: each fact whole, the line breaking between facts.
- `rootStyle` (`RootStyle<MetaKnobs>`): Typed StyleX override: layout and the `--meta-*` knobs.
- `children` (`ReactNode`): The facts, when `items` is omitted.

Rest props go to `<span>` props.
