# Callout

A note that belongs to the content around it: a condition, a reminder, a source.

Group: Status and waiting. Code: `components/software/message.tsx`. From the old system: Callout in @id-identity-as/ui/data (five coloured variants, now two). Live: https://design.id-hub.dk/software/callout

```tsx
import { Callout } from '@/components/software/message';

<Callout title="Kræver godkendelse">To ordrelinjer overstiger budgettet for afdelingen.</Callout>
```

| Prop | Type | Default | What it does |
| --- | --- | --- | --- |
| title | `string` |  | A short heading for the note. |
| variant | `'outline' \| 'tint'` | `'outline'` | Outline is a hairline box. Tint is a light ground with Ink text. |
| family | `ColourFamily` |  | The colour family of a tint. Without it the tint is Mist. |

Do:
- Use it for something the reader should know before going on.
- Say what kind of note it is in the title: "Kræver godkendelse".

Do not:
- Do not use it for the outcome of an action. That is FlashMessage.
- Do not rely on a tint to say warning or error. Say it in the title.
- Do not stack several callouts. If everything is a note, nothing is.

Accessibility:
- role="note": part of the page from the start, not announced on its own.

Tokens it uses:
- color.border.default
- color.text.default
- color.neutral.200
- color.neutral.900
- radius.sm
- type.heading.md
- type.body.md
- space.inline.1
- space.inline.4

---

Not drawn in Figma. Kasper decided on 20 November 2026 that internal software gets this set now, built only from the tokens. The look is ours until Peter draws it, and every open choice is a question in docs/SPOERGSMAAL-TIL-PETER.md. The public site, campaigns and brand surfaces use only the components drawn in Figma.

The rules for this set and all 33 components: https://design.id-hub.dk/software.md. Token values: https://design.id-hub.dk/tokens.md.

Index of everything, as text: https://design.id-hub.dk/llms.txt. Never invent a colour, a size, a component or a product fact: if it is not here, it does not exist yet.
