cross-platform UI design system
Reusable UI tokens, documented component contracts and platform adapters, with an interactive browser specimen. Native examples are uncompiled.
Resource release 1.2.0 · Reviewed 11 November 2026 · Machine-readable index
UI KIT / v1.0.0One language. Native behaviour.
A reusable, deliberately unconventional application layer for browser-first, hybrid, mobile-native, Windows and macOS products. It combines selected patterns from Material, Apple HIG, Fluent and accessible web primitives with RJ Signal. It is original house guidance, not an official vendor kit or a platform-compliance claim.
Read the shared foundations, component contracts and workflow checks, then only the adapter for the job. Several platforms may need several adapters. Do not ingest the full page or package by default.
Choose a platform · Shared tokens and behaviour · Implementation inventory · Try the browser specimen · Fetch modules and starter
One token source, generated outputs
DTCG format 2025.10, a Community Group Final Report, not a W3C Recommendation. The Style Dictionary 5.8.0 project includes its lock file, TypeScript declarations and a Tailwind 3.4.17 preset (not Tailwind 4). Dependency installation needs network; the generator reads local files after installation. A failing build gate checks 29 declared contrast pairs, not whole-site conformance. Register new pairings before using them.
- DTCG token source (JSON, v1.2.0)
- Generated scoped CSS with explicit legacy-specimen adapter
- Reproducible token build project (ZIP, v1.2.0)
- Sizes, SHA-256 and immutable output links
The original UI v1.0.0 package remains a versioned compatibility snapshot. New generated tokens are v1.2.0; native sketches remain uncompiled.
Token playground
Choose a colour role and format. Copy uses your browser clipboard only; nothing is sent or saved. Pair-specific guidance still applies.
Choose the runtime, then adapt the surface
| Target | What stays platform-specific | Selective reference |
|---|---|---|
| Browser / PWA | Semantic DOM, browser links and Back, keyboard + pointer/touch. React is optional. | Browser adapter |
| Hybrid mobile | Web UI in native host; safe areas, keyboard, system Back and a narrow native bridge. | Hybrid adapter |
| iOS / iPadOS native | SwiftUI / UIKit; Dynamic Type, VoiceOver, system sheets and native navigation. | Mobile-native adapter |
| Android native | Kotlin / Compose; 48 dp targets, TalkBack, insets and system Back. | Mobile-native adapter |
| Windows native | WinUI 3 / XAML; keyboard commands, UI Automation, menus and native windows. | Desktop-native adapter |
| macOS native | SwiftUI / AppKit; menu bar, Cmd shortcuts, VoiceOver and window/document behaviour. | Desktop-native adapter |
| Tauri / Electron desktop | Web renderer plus host integration; distinct process, permission and bridge APIs. | Web-based desktop adapter |
| React Native / Flutter | Shared code, different renderers; semantic tokens travel, native behaviour needs per-platform tests. | Shared-code adapter |
Here, web native means browser-first, not native OS widgets. A WebView wrapper does not turn a web control into a SwiftUI, Compose or WinUI control. Pick one primary behaviour owner for each component; do not combine competing routers, menu systems or focus traps.
Shared foundations, native exceptions
- Borrow with a purpose. Material: semantic roles, states and adaptation. Apple: native navigation, system text and accessibility. Fluent: desktop commands, list/detail and keyboard patterns. React Aria or Radix: optional complex-web semantics and focus. RJ Signal: identity, restrained shape and clear content. These are selected patterns, not five mandatory dependencies.
- Three token layers. Primitive values → semantic roles → component aliases. Light: Cloud canvas, White surface, Night Ink text, Slate secondary text, Signal Blue action. Dark: Night Ink canvas, existing Elevated Ink #172A44 surface, White text, Mist secondary text, Sky action with Night Ink label. Dark error/success colours are functional variants, not decoration.
- Geometry. Shared layout scale 4, 8, 12, 16, 24, 32, 48, 64, 96. Web primary button: 8 px radius, 16 × 24 px padding. Card: 12 px radius, 24 px padding. Border/focus strokes are explicit exceptions. Map deliberately to dp/pt; logical pixels are not physical pixels.
- Readable and operable. Web body 16-18 px; native apps use scalable system text styles. House touch targets: 48 CSS px on web, at least 48 dp on Android, 44 pt default on iOS/iPadOS. Desktop uses native control sizes and a suitable input mode. System text, high contrast, reduced motion and platform controls can override generic brand styling.
- Complete state contracts. Default, hover, pressed, focus-visible, selected, disabled/read-only, pending, success, validation error, service error, empty and offline where applicable. Preserve data; unknown save results reconcile before retry. Never equate timeout with definite failure.
- Verified pairs, not decorative contrast. Light Signal Blue/White: 6.274:1; Night Ink/White: 17.284:1. Dark White/Elevated Ink: 14.472:1; Sky/Night Ink: 8.587:1. Field boundaries and focus have their own checks. Ratios are computed at full precision and displayed rounded to three decimals; thresholds apply before rounding. Mist on White is decorative, not a sufficient field boundary.
Read foundations and decision matrix · Read the component contracts
What is implemented, and what is guidance
| Part | Included | Status |
|---|---|---|
| Browser specimen | Search/filter, list/detail, retained selection, create dialog, required-field validation, Escape/return focus, light/dark, feedback and simulated service states | Runnable, dependency-free HTML/CSS/JavaScript |
| Component catalogue | Actions, menus, fields, selection, navigation, overlays, tables/grids, charts, trees, splitters and AI-assisted panels, with states and test contracts | Documented contracts, not 40 implemented widgets |
| Token layer | JSON/CSS semantic roles, light/dark, spacing, shape, focus and forced-colour overrides; reproducible contrast calculation | Reusable machine-readable assets |
| Native adapters | iOS/Android and Windows/macOS rules; original SwiftUI, Compose and WinUI form sketches | Uncompiled integration sketches, not production-ready native applications |
| App recipes | List/detail, edit/create, sign-in/permission, search/bulk, settings, dashboards, offline/conflict and AI review flows | Implementation guidance and release checklist |
Try the browser specimen
The target selector explains adapter differences; it does not create a native renderer. Fictional records and changes exist only in memory. No account, network submission, analytics or persistent storage.
RJ SIGNAL / UI LAB
One language. Native behaviour.
Interactive browser specimen with fictional records. No data is sent or stored. Native adapters are documented separately.
DOM + semantic HTML. Preserve browser links, Back and keyboard behaviour.
Example tasks
SELECTED RECORD
Review checkout labels
Check that the visible label and accessible name agree. This is a fictional example, not a live project.
Selection retained outside the current results. Clear search or choose All to see it in the list.
- Pattern
- List + detail
- State ownership
- One selected record ID
- Responsive rule
- Stack at compact width
Changes here exist only until reload.
Actions and states
Disabled controls are examples only. Required instructions stay readable.
Choose a service state
What changes across platforms?
Tokens and task intent travel. Control semantics, navigation, input, permission sheets, menus and window behaviour stay native. This selector explains the adapter; it does not turn the browser specimen into a native application.
Selective modules and complete starter
Ten Markdown modules, JSON/CSS tokens, runnable demo.html, CSS/JS source, native integration sketches, contrast script/report and test limits. Extract locally; package links work inside the folder. No vendor fonts, icons, proprietary design-kit assets or third-party dependencies are bundled.
| Module | Use |
|---|---|
| Foundations | Platform choices, synthesis, tokens and native exceptions |
| Component contracts | Anatomy, states, semantics and behaviour |
| Browser-first | Semantic DOM, complex widgets and service states |
| Hybrid and web-based desktop | Capacitor, Tauri, Electron and bridge boundaries |
| Mobile native | SwiftUI/UIKit and Compose conventions |
| Desktop native | Windows WinUI and macOS SwiftUI/AppKit |
| Shared-code frameworks | React Native and Flutter distinctions |
| Workflows and tests | Common app recipes, acceptance matrix and handoff |
| Sources and reuse | Direct publisher/license links, compatibility and asset limits |
Direct starter source: tokens.css · demo.css · demo.js · contrast report · test evidence and limits. Served as TXT; rename locally. HTML entry point, JSON tokens, native sketches and the contrast script are inside the ZIP, not guessed standalone URLs.
Checked and not checked. Browser interaction/state, focus/error/Escape, selected-record filtering, light/dark, 320 px reflow, reduced motion, forced colours, accessibility-tree names and a 200% text-size stress test were checked in Chromium. No real screen-reader session, native SDK compilation/device, backend/bridge integration or exhaustive browser-zoom test was run. Run the target product's full matrix before release. This kit makes no accessibility certification or app-store approval claim.
Source families: Material 3, Apple HIG, Fluent 2, Radix, React Aria, WAI-ARIA APG and WCAG 2.2. Full source and reuse boundaries are in the linked ledger. Vendor code, plugins, fonts and icons keep their own licenses. No paid dependency is required; signing, stores and hosting are separate decisions.