559fd2b97153a43b72f06e606b923ad08df5e4e8
forwardRef-based components with navds-* classnames composed via a small local cn() utility. Adds shared tsconfig.base.json and truncate modifier for BodyShort.
Aksel Mini
A small, self-contained imitation of the Aksel design system monorepo. It exists purely as a local fixture for testing code-review tooling against a realistic repository layout — it is not affiliated with NAV or the real Aksel project.
Layout
| Path | Package | Description |
|---|---|---|
packages/core/tokens |
@navikt/ds-tokens |
Color and spacing tokens, emitted as CSS custom properties |
packages/core/css |
@navikt/ds-css |
Component styles referencing token variables |
packages/core/icons |
@navikt/aksel-icons |
SVG icons as React components |
packages/core/react |
@navikt/ds-react |
React component library |
aksel.nav.no/website |
— | Vite-powered documentation site with live examples |
Getting started
pnpm install
pnpm build
Then run the website:
pnpm --filter website dev
Release
Packages are versioned together. When a change is merged to main, bump versions in the affected
packages and add an entry to the package CHANGELOG.md files.
Languages
TypeScript
62.5%
CSS
31.8%
JavaScript
4.7%
HTML
1%