@dfds-ui/navaigator
v1.1.1
Published
shadcn-style React UI library skinned with the DFDS Navigator Design System.
Readme
Experiment: a shadcn-style UI library skinned with the DFDS Navigator Design System.
NavAIgator installs shadcn primitives and wraps them in a thin compatibility bridge so they render with DFDS Navigator tokens out of the box. The library components live under src/components/navaigator/ and are showcased in Storybook.
Stack
- Vite + React 19 + TypeScript
- Tailwind CSS v4 (via
@tailwindcss/vite, no config file — tokens live insrc/index.css) - shadcn/ui components (new-york style), installed into
src/components/ui/ @dfds-frontend/navigator-stylesfor the Navigator design tokens, fonts, andcnhelper- Storybook 9 with
@storybook/react-viteas the component explorer
Getting started
pnpm install
pnpm storybook # primary dev surface at http://localhost:6006
pnpm dev # minimal Vite landing at http://localhost:5173
pnpm build # typecheck + production bundleAdding a shadcn primitive
pnpm dlx shadcn@latest add <component> --yesComponents land in src/components/ui/. Do not hand-edit them — wrap them inside src/components/navaigator/ instead.
Figma source
The design system lives at Figma › Navigator Design System. The Figma MCP server can pull component specs; see CLAUDE.md for the workflow.
