Skip to content
COMPONENT LIBRARY

Components.

A complete catalog of UI primitives that ship with VELYON. Every piece is composable, accessible, and tuned to the system's motion and color language.

01 · Actions

Buttons

Primary actions with five variants, three sizes, and complete state coverage.

Variants
Sizes
States
Icon buttons
tsx
<Button variant="primary" size="md">Primary</Button>
<Button variant="secondary" icon={Download}>Download</Button>
<Button loading>Loading</Button>
<Button iconOnly icon={Settings} variant="ghost" />
02 · Containers

Cards

Surface primitives — glass, elevated, statistic, and interactive variants.

Glass Card

Backdrop blur surface

Translucent panels for layered interfaces. The default container in VELYON.

Elevated Card

Subtle elevation

Solid-feeling surface with directional shadow for prominent content.

Stat Card
24,839
+12.4%

Active components this week

Interactive Card

Explore tokens

Hover to see the lift and azure glow.

tsx
<GlassCard>
  <h3>Backdrop blur surface</h3>
  <p>Translucent panels for layered interfaces.</p>
</GlassCard>

<StatCard value="24,839" label="Active components" trend="+12.4%" />
03 · Labels

Badges

Compact status indicators in four semantic colors and two sizes.

Status colors
ActivePendingErrorInactive
With dot indicator
ActivePendingErrorInactive
Sizes
SmallMedium
tsx
<Badge variant="active" dot>Active</Badge>
<Badge variant="pending" size="sm">Pending</Badge>
<Badge variant="error">Error</Badge>
04 · Input

Form Elements

Inputs, selects, and selection controls with consistent focus and error states.

We'll never share this with anyone.

Must be at least 8 characters

Selection
tsx
<Input label="Email" placeholder="you@velyon.dev" helper="We'll never share this." />
<SearchInput placeholder="Search tokens…" />
<Select options={["Azure", "Obsidian"]} />
<Checkbox checked label="Subscribe" />
05 · Data

Tables

A data table with glass header, striped rows, and embedded status badges.

TokenValueTypeStatus
color.azure.500#3D7EFFcoloractive
space.lg24pxspacingactive
radius.xl16pxradiusactive
font.displaySuisse Intltypographypending
shadow.glow0 0 40px ...shadowactive
ease.standard[0.22, 1, ...]motioninactive
tsx
<Table>
  <TableHeader columns={["Token", "Value", "Type", "Status"]} />
  <TableBody data={tokens} striped />
</Table>
06 · Feedback

Callouts & Alerts

Inline messaging in five semantic flavors — each with icon, title, and body.

Heads up

All components are tree-shakable and ship as ESM modules.

Build passed

Your design tokens were synced successfully across 12 platforms.

Review required

Three tokens have proposed changes that need approval before release.

Something went wrong

The token validator detected 2 contrast failures in your palette.

Pro tip

Use the keyboard shortcut ⌘K to open the command palette anywhere.

tsx
<Callout variant="info" title="Heads up">
  All components are tree-shakable.
</Callout>

<Callout variant="success" title="Build passed">…</Callout>
<Callout variant="warning" title="Review required">…</Callout>
Next

Ready to build with these primitives?

Explore tokens, patterns, and the full installation guide.