# Facts

Labelled facts, one per line: a quiet label in its own column and the value beside it.

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

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

Page details

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

<Facts items={[
  { label: "Title", value: "Create your account" },
  { label: "Address", value: "https://acme.example/signup" },
  { label: "Viewport", value: "1280 by 800" },
  { label: "Loaded in", value: "1.2s" },
]} />
```

## Accessibility

Facts is a `<dl>`: each label a `<dt>` and its value the `<dd>` after it, so a screen reader announces a list and reads each value with its label. The label is quieter by its ink alone, and it is read like the value.

Keep a label a short noun that names the value, and give each label one value. A list with no facts renders nothing, so an empty `dl` never reaches the page.

## API reference

### Facts

- `items` (`readonly Fact[]`, required)
- `rootStyle` (`RootStyle<FactsKnobs>`)

Rest props go to `<dl>` props.
