Xenon

v1.0

Component Gallery

Comprehensive overview of all v1 components. Click any card to inspect full props and code snippets.

Primitives

5 components

Button

Signature pill-first action control with physics-based spring squash interaction (0.98 scale on press).

IconButton

Concentric circular action button strictly optimized for Phosphor Thin icons with mandatory accessible labeling.

ButtonGroup

Grouped capsule action bar where child buttons share outer bounds and internal 1px hairline dividers.

Surface

Concentric Surface Level

Inner radius calculates as R_parent - padding = 12px.

Base structural container supporting concentric radius inheritance and Apple HIG Liquid Glass floating layers.

Typography (Text & Heading)

Geist Minimalist Heading

Body copy uses strict weights 200, 300, and 400. Font weights of 500 and higher are strictly banned in Xenon.

Caption metadata rendered with tabular figures.

Apple HIG calibrated Geist Sans typography system restricted strictly to light weights (200, 300, 400).

Form Controls

7 components

Input

Restrained architectural text field (6-8px radius, 12px optical padding) avoiding stadium pill shapes.

Field

Must be globally unique

Persistent structural wrapper binding labels, helper annotations, and error callouts to input controls.

Textarea

Architectural multi-line text input with smooth auto-expansion, character limit tracking, and hairline borders.

Checkbox

Restrained geometric square checkbox with crisp Phosphor Thin checkmark and indeterminate state support.

Switch

Apple HIG calibrated sliding toggle with physics spring release and native haptic click feedback.

Slider

Value42

Precision track slider with Apple spring thumb response, live value tooltip, and discrete stop ticks.

SegmentedControl

Sliding pill segmented group with animated indicator and spring squash transition across items.

Navigation

3 components

Navbar & GlassBar

Xenon System

Top navigation chrome featuring adaptive scroll elevation for Navbar and permanent Liquid Glass for GlassBar.

Sidebar

Documentation

Background-less architectural sidebar navigation with collapsible rail mode, groups, and soft dividers.

Tabs

Zero gradients. Zero drop-shadows.

Accessible view switcher supporting pill capsule and sliding hairline underline modes with roving keyboard focus.

Overlays

5 components

Dialog

Centered modal surface with background scrim, focus restoration, focus trapping, and Apple spring dismissal.

Sheet

Slide-over drawer on web and gesture-driven bottom sheet with tactile drag handle on React Native.

DropdownMenu

Hairline contextual action menu with openOnHover option, keyboard navigation, groups, and shortcuts.

Select

Architectural custom listbox on web and native picker sheet on Expo with dynamic radius matching global tokens.

CommandPalette

Global quick-launcher overlay triggered by ⌘K with keyboard arrow navigation and categorized action groups.

Feedback & Data Display

6 components

Badge

Badge

Compact status indicator with acid accent tones, subtle neutral styles, and optional live pulse dot.

Alert

Default Notification
All dividers and borders must strictly measure 1px across desktop and mobile.

Inline semantic status callout with Phosphor Thin icons, crisp 1px perimeter border, and restrained fill.

Table & DataTable

PropertyValueOrigin
--x-border1pxApple HIG
--x-dur-base240msMotion Spec

Outer-rounded hairline bordered table with tabular numbers, clean row highlighting, and horizontal containment.

Accordion

Depth in Xenon comes purely from 1px hairline edges and stepped surface tones, avoiding faux skeuomorphic blurring.
Liquid Glass is reserved exclusively for floating and overlay layers (Navbar, Popover, Dialog, Sheet), preserving background spatial orientation.

Apple-grade fluid grid disclosure (zero instant snappy jumps) with 280ms cubic-bezier transitions and spring caret rotation.

Avatar & AvatarGroup

DR
JIKHMV

Circular avatar with graceful image loading, typographic initial fallbacks, and overlapping grouped clustering.

CodeBlock

xenon.config.tstypescript
1// Xenon design system configuration
2export const TOKENS = {
3 border: "1px hairline",
4 accent: "var(--x-accent)",
5 motion: "apple-spring",
6};

Zero-dependency isomorphic syntax highlighted code block in Geist Mono with copy micro-action and line numbering.