Deterministic rails for the agent era.
AI models write brilliant logic but hallucinate atrocious CSS. Xenon gives models strict architectural rails: finite token scales, exhaustive types, and zero mystery blur.
The UI kit your AI can’t break.
Prompting Cursor, Claude, or Copilot for UI usually results in 25 arbitrary Tailwind utility classes, hallucinated hex values, and 48px blur mud that breaks in production. Xenon replaces prompt roulette with rigid type contracts. The model physically cannot invent unauthorized styles.
Own your code. Keep the foundation.
Traditional UI kits force a painful choice: NPM packages lock your UI in a closed black box where you can’t modify internal markup, while raw copy-paste templates rot over time without an upstream engine. Xenon solves this with a clean dual architecture.
Two variables. Infinite coherent brands.
No 300-variable CSS theme files. No sprawling configuration files. Xenon is configured with strictly two global knobs: 1 Accent Hue and 1 Radius Stop Scale (0 Sharp to 6 Pill). Every child radius, hairline border, and focus state updates coherently across Web and Expo while preserving concentric curvature.
Four physical invariants. Zero compromises.
Every curve, hairline, and motion curve is derived from mathematical first principles. No cosmetic gradients, no murky shadows, no visual clutter.
No bee-stung corners.
When nested radii copy the parent boundary without subtracting inset padding, inner curves swell outward into optical eggs. Xenon computes true parallel arcs where the inner and outer curves share the exact same geometric center.
Flat depth. No muddy shadows.
CSS box-shadow turns AMOLED blacks into murky gray fuzz. Xenon builds depth purely from 1px hairline edges (StyleSheet.hairlineWidth on native) and stepped tone contrast.
Diffuse Gaussian blur · σ = 24px · Muddy halo bleed
1.00px Dirac vector step · StyleSheet.hairlineWidth · Zero GPU overhead
Fluid physics. Zero snap.
No UI state transition in Xenon is ever abrupt or instantaneous. Disclosures, switches, drawers, and active indicators glide through Apple-grade damped harmonic spring physics (stiffness 300, damping 30, mass 1).
0ms binary cliff · Δt = 0 · Infinite jerk (j → ∞)
Damped harmonic spring · k = 300, c = 30 · Exponential envelope decay
One sharp accent. Calm canvas.
90% calm neutral architecture, 10% laser focal draw. In accordance with Don Norman's signifier principle, interactive affordances must never compete for ocular saccades. One global acid accent draws the eye decisively to the primary task.
Attentional entropy · 6 competing ocular vectors · High cognitive load
Coherent focal vector · 90% neutral architecture · Directed affordance
One token core. Identical contracts.
Every component ships with identical prop interfaces across Web React DOM and React Native Expo. Shared mathematical formulas live in @xenon/core.
Web (React DOM)
Native (Expo React Native)