The problem
Repeated interface patterns need consistent behavior without tying every consumer to one framework or one theme. nūk starts from native HTML and browser semantics, then adds a shared component vocabulary and explicit integration contracts.
Decisions and tradeoffs
- Native behavior first. Standards-based custom elements supply reusable behaviors. ARIA supplements behavior that HTML does not already provide. Native primitives are a starting point for accessibility, not a substitute for testing.
- One behavior, multiple integration surfaces. Framework-neutral elements and typed React adapters are separate packages. That makes the core reusable while keeping React integration explicit.
- Structure is not theme. Structural CSS, versioned design tokens, and optional light, dark, and high-contrast themes are separated. Consumers can adapt presentation without replacing component behavior.
- Generation stops at review. The Forge proof of concept supports clean-room specification and component translation. Generated candidates require human approval; rejection rules are not a claim that generated code is safe.
A real consumer, not only a catalog
This site is nūk’s first consumer. Its AI engineering brief uses nūk navigation and breadcrumb elements, tokens, and styles. Integration gaps feed back into the library backlog. This is a concrete use case, not evidence of broad adoption or measured productivity gains.
Follow the evidence
- Repository overview and package boundaries: elements, React adapters, themes, tokens, Forge, and Storybook.
- Component contracts: API, keyboard behavior, styling parts, and screen-reader notes.
- Form interaction example: inspect labels, validation, keyboard use, and narrow-screen layout.
- Dialog and menu examples: inspect opening, dismissal, keyboard navigation, and focus behavior.
- This site’s integrationand the live brief: inspect the consumer alongside the library.
- Browser and accessibility CI runs: inspect the tested commit, checks, and result. A workflow definition or past pass is not proof that every component or current deployment has passed.
- Implementation planand backlog: distinguish implemented behavior from future work.
Scope and verification
nūk is a component library in development. Its repository documents local checks and Storybook interaction and accessibility tooling. Individual examples and automated checks do not establish whole-library accessibility compliance. Product teams still need to validate their own combinations, assistive-technology behavior, and target browsers.