# Actions

A row for the actions that share a moment, such as save and cancel.

Group: Surfaces. Code: `components/software/actions.tsx`. From the old system: Actions in @id-identity-as/ui. Live: https://design.id-hub.dk/software/actions

```tsx
import { Actions } from '@/components/software/actions';

<Actions>
  <Button type="submit">Gem ordren</Button>
  <Button variant="outline">Annullér</Button>
</Actions>
```

| Prop | Type | Default | What it does |
| --- | --- | --- | --- |
| align | `'start' \| 'end'` | `'start'` | End sets the actions at the end of the row, as in the foot of a dialog. |

Do:
- One solid Button and the outline beside it.
- Put the primary action first.

Do not:
- Do not stretch the buttons to the full width. Each keeps the width of its label.
- Do not put two solid buttons in one row.

Accessibility:
- The order in the code is the tab order: primary first.

Tokens it uses:
- space.inline.3

---

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.
