Internal ID software
React components for the tools ID builds for itself: forms, tables, dialogs, navigation and status. Converted from the old system and rebuilt only from the tokens.
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.
How to use it
Import a component from components/software, lay the page out with Grid and Stack, and use the components drawn in Figma (Button, UtilityButton, VariationPicker, ProductCard, Icon) beside them. A dark ground is data-theme="dark" on a container.
In another app, install @id-identity-as/design-system and import from '@id-identity-as/design-system/software'. The set has its own entry point, so an app for the public does not get it by accident. Import theme.css, fonts.css and components.css from the package as its README says.
import { Button } from '@/components/ui/button';
import { Actions } from '@/components/software/actions';
import { Card, CardHeader } from '@/components/software/card';
import { Input, Select } from '@/components/software/form';
import { Stack } from '@/components/software/layout';
<Card as="form" padding="lg">
<CardHeader title="Ny bruger" level={2} />
<Stack gap="inline-5">
<Input label="Navn" name="name" autoComplete="name" required />
<Input label="E-mail" name="email" type="email" autoComplete="email" required />
<Select label="Afdeling" name="department" autoComplete="off" required placeholder="Vælg en afdeling" options={departments} />
<Actions>
<Button type="submit">Opret bruger</Button>
<Button variant="outline">Annullér</Button>
</Actions>
</Stack>
</Card>The components
33 components in 9 groups. Each has its own page with a live example in light and dark, its props and its rules.
Layout
Text
| Component | What it is | From the old system |
|---|---|---|
| Heading | A heading where the level in the outline and the text style are two decisions. | Heading and Eyebrow in @id-identity-as/ui/layout |
| Text | Body text in one of the body styles, default or muted. | Text in @id-identity-as/ui/layout |
| Link | A link that looks like one: underlined inside a sentence, plain when it stands alone. | Link in @id-identity-as/ui/layout |
Surfaces
| Component | What it is | From the old system |
|---|---|---|
| Card | A surface with a hairline border that knows nothing about what is in it. | Card in @id-identity-as/ui |
| CardHeader | The top of a card: what it is, and at most one thing to do with it. | CardHeader in @id-identity-as/ui |
| Actions | A row for the actions that share a moment, such as save and cancel. | Actions in @id-identity-as/ui |
Status and waiting
| Component | What it is | From the old system |
|---|---|---|
| Badge | A status chip. The word carries the meaning; the colour never does alone. | Badge in @id-identity-as/ui (ten coloured variants, now three) |
| Skeleton | A placeholder with the shape of the content that has not arrived yet. | Skeleton and SkeletonText in @id-identity-as/ui |
| PendingNote | A sentence that says a region is working, announced once. | PendingNote in @id-identity-as/ui |
| EmptyState | The empty case of a list or a search: what is missing, why, and one way out. | EmptyState in @id-identity-as/ui/data |
| Callout | A note that belongs to the content around it: a condition, a reminder, a source. | Callout in @id-identity-as/ui/data (five coloured variants, now two) |
| FlashMessage | What the page says about the thing you just did. In the flow, not a toast. | FlashMessage in @id-identity-as/ui/commerce |
Data
| Component | What it is | From the old system |
|---|---|---|
| StatCard | One number with its name, its change and its source. | StatCard in @id-identity-as/ui/data |
| Table | A data table with hairlines between the rows, numbers right aligned, and its own sideways scroll. | Table in @id-identity-as/ui/commerce |
| BarList | A ranked list with a bar behind each number. Layout, not a chart. | BarList in @id-identity-as/ui/data |
Navigation
| Component | What it is | From the old system |
|---|---|---|
| Pagination | Moving through a long list, as a list of links. | Pagination in @id-identity-as/ui/commerce |
| Breadcrumb | The trail from the front of the app to this page. | Breadcrumb in @id-identity-as/ui/commerce |
| Navigation | The way around an app: a named list of links with the current page marked. | Navigation in @id-identity-as/ui/chrome (the list of links, without the public site chrome) |
Forms
| Component | What it is | From the old system |
|---|---|---|
| FormField | A label, a control and the one message under it, wired together. | FormField in @id-identity-as/ui/form |
| Input | A single line of text, with its label, its helper and its error. | Input in @id-identity-as/ui/form |
| Textarea | Several lines of text. | Textarea in @id-identity-as/ui/form |
| Select | One choice from a list, as the native select. | Select in @id-identity-as/ui/form |
| Checkbox | One checkbox: a consent, a preference, a setting. | Checkbox in @id-identity-as/ui/form |
| RadioGroup | One question with a few answers, all shown. | RadioGroup in @id-identity-as/ui/form |
| ErrorSummary | What a rejected form says first: every problem, each a link to its field. | ErrorSummary in @id-identity-as/ui/form |
| QuantityStepper | A number chosen with minus and plus, around a real number field. | QuantityStepper in @id-identity-as/ui/buy |
Overlays
| Component | What it is | From the old system |
|---|---|---|
| Dialog | A question that must be answered before the work goes on. | Dialog in @id-identity-as/ui/overlay |
| Drawer | The same dialog against an edge, as tall as the screen. | Drawer in @id-identity-as/ui/overlay |
| Tabs | Views of the same thing, one at a time, with the whole keyboard model. | Tabs in @id-identity-as/ui/overlay |
Tools
| Component | What it is | From the old system |
|---|---|---|
| CopyButton | Copies a text to the clipboard and says whether it worked. | CopyLinkButton in @id-identity-as/ui |
| PrintButton | Opens the print dialog of the browser, and stays out of the print itself. | PrintButton in @id-identity-as/ui |
The rules
The rules of the old system, converted to the new one. They apply to every page built with this set, and every agent gets them.
| Rule | What to do | Why |
|---|---|---|
scope | Use this set only in internal ID software: tools behind a login that ID's own people use. On id.dk, in campaigns, emails, slides and print, only the components drawn in Figma exist. | Figma decides the look of the brand. This set is a working tool, not a brand surface. |
tokens-only | Build only from the tokens. The software tokens (color.software.muted, component.field.*) are aliases of Figma values and never values of their own. Do not add one without asking. | A value that is not in Figma is a value Peter has not decided. A test fails if a software token holds a value of its own. |
no-status-colour | There is no red for errors, no green for success and no yellow for warnings. Say the status in words, and mark what needs attention with weight: a solid Badge, a doubled edge, the heading style. Flare is for the logo only. | The old system had a status colour family; Figma has none. Meaning that sits in the word also survives greyscale, a screen reader and a colour blind reader. |
tints | A tint is the 200 shade of one colour family with Ink text. Keep to the lead and the accent family of the page, and to pairs that go together. | Peter's rule for 200 shades, and the colour pair rule. A tint decorates or groups; it does not carry a meaning on its own. |
flat | Surfaces are flat: a hairline in border/default, the base surface, radius/sm. No shadow, no gradient, no second radius. | Figma has no shadows, and radius/md and radius/lg have no decided use yet. |
native-first | Use the native element: input, select, textarea, checkbox, radio, dialog, table, a link. A form posts without script. | The browser brings validation, autofill, keyboards, the focus trap and translations for free, and a native control never drops its value on the way to the server. |
forms | Every field has a visible label and an autocomplete token. Optional fields are marked; required ones are not. An error says what to do, replaces the helper, and is repeated in an ErrorSummary first in the form. | Carried over from the old form rules: a field the browser cannot fill is typed wrong, and a reader should not hunt for what went wrong. |
links-and-actions | Navigation is a link, a change is a Button. One solid Button per view. Pages, filters and tabs that should be shareable live in the address. | Back, bookmarks and shared links only work when a place is a link. |
messages | The outcome of an action is a FlashMessage in the flow of the page, until the next navigation. No toasts and no timers. A note that is part of the content is a Callout. A decision that cannot wait is a Dialog. | A confirmation that disappears before it is read was never given. |
waiting | A wait is shown where it happens: a Skeleton with the shape of the content, or a PendingNote for a region. Never disable a submit button to show a wait; set aria-busy. | A disabled submit is left out of the form data, and a placeholder of the wrong shape only postpones the jump. |
data | Numbers come in formatted, the Danish way (1.234,56, kr. 139,00, 14. august 2026), and are never computed in a component. Mark example data as example data. Never invent a figure, a customer or a product fact. | A component cannot know the currency, the rounding or the source. |
charts | StatCard and BarList are layout: text and one colour of bar. For axes, time series and several series, ask first. Charts are not in the system yet. | Figma has no chart colours, and the eight families are not a data palette. |
text-as-props | Every text a component shows or reads aloud is a prop. The built-in defaults are Danish and can be replaced. | Fixed strings in a component were a mistake in the old system. |
themes | A dark ground is data-theme="dark" on a container. The components turn themselves; do not restyle them. Secondary text is the muted tone, never an opacity or a grey chosen by hand. | The muted tone is measured in both themes at every build. |
motion | Nothing moves except the two waiting marks, and they stand still for a reader who asks for less motion. No transition on a dialog, a drawer or a tab. | Motion is not decided in Figma yet. |
layout | Lay a page out on the nine-column grid with Grid, and set rhythm with Stack: inline steps inside a group, section steps between groups. The old twelve-column grid and its spacing scale are gone. | Peter's rules for grid and spacing. |
server-first | Everything renders on the server except Dialog, Drawer, Tabs, QuantityStepper, CopyButton and PrintButton, which are Client Components. Pass the link of the framework with the as prop. | A page that needs no state should need no script. |
missing | If what you need is not in this set, say so and ask. Do not build a new component from loose values, and do not bring one in from another library. | The same rule as for the Figma components. |
The tokens it adds
The set adds no value to the system. These roles and sizes are aliases of values from Figma, kept apart in tokens/software/, and a test fails if one of them gets a value of its own.
| Token | Light | Dark | CSS variable | Use |
|---|---|---|---|---|
component.field.padding-top | component/button/padding-top | component/button/padding-top | --spacing-field-padding-top | A form field is as tall as the CTA button beside it: the same padding above the text. |
component.field.padding-bottom | component/button/padding-bottom | component/button/padding-bottom | --spacing-field-padding-bottom | A form field is as tall as the CTA button beside it: the same padding below the text. |
component.field.padding-x | component/button/padding-x | component/button/padding-x | --spacing-field-padding-x | A form field has the CTA button's padding at the sides. |
color.software.muted | neutral/600 | neutral/300 | --color-software-muted | Secondary text in internal software: helper text, captions, timestamps. Light: Charcoal. Dark: Ash. Ours until Peter draws one; not for the public site. |
What became of the old system
The old React catalogue is at id-partner-room.vercel.app/brand/react. What was carried over is named on each component above. This is the rest: what was replaced, and what waits for Figma.
| In the old system | Now | Why |
|---|---|---|
| Button variants ghost, approve and reject, the small size and the pending prop | Button from Figma: solid and outline. | Figma draws two variants and no states yet (question 7). Approve and reject are words on a solid and an outline Button. A wait is aria-busy on the button and a PendingNote beside it. |
| Container, Bleed, Section | Grid and Stack. | The page width, the margins and the breakpoints are not in Figma yet (question 10). The grid runs across the whole width with no gutter. |
| Eyebrow | The eyebrow prop on CardHeader, or Text in the muted tone. | The mono capitals of the old overline are not a text style in Figma. |
| Badge variants nyhed, bestseller, eco, campaign, signal, info, success, warning, danger | Badge: outline, solid and tint. | There are no status or commerce colours in Figma. The word carries the meaning. |
| StatCard sparkline and the green or red delta chip | StatCard with the change as text and an arrow. | No pasted svg, and no status colours. |
| ChartFrame, TimeSeriesChart, CategoryBarChart, ShareDonut, SERIES | Not carried over. BarList covers a ranked list. | Figma has no chart colours. Ask before a chart is built. |
| ProductCard, ProductGrid, ProductGridItem, ProductImage, ProductImagePlaceholder, image-contract | ProductCard from Figma. | The product card is drawn in Figma. Packshots sit on Snow, uncropped. |
| SizeChoice | VariationPicker from Figma. | The variant selector is drawn in Figma, with the brackets. |
| DealerPrice, StockIndicator, ArticleNumber, CertBadgeRow, VolumePriceTable, FreightProgress, SizeGuideTable, NotifyMe, BuyBar, QuickBuy, SearchSuggest, FilterBar, FilterPanel, SortSelect, ShowMore | Not carried over. | They belong to the public shop. They are drawn in Figma first, and they are on the list of what id-site needs. |
| Hero, HeroMedia, EditorialSplit, EditorialMedia, StatsBand, GarmentStrip, NewsletterSignup, Footer, ErrorPage, CookieConsent, and the public site Navigation | Not carried over. Navigation here is the plain list of links for an app. | They are the face of the public site. They are drawn in Figma first. |
| Icon, ICONS (49 icons), IDLogo | Icon from Figma (21 icons). The logo is in public/brand. | The icon set is closed and comes from Figma. A missing icon is drawn there first. |