UI Primitives

Component Library

Every component ships fully typed and prop-driven. Customize colors via @theme tokens in globals.css. No component edits needed.

8Primitives
6Sections
3Hooks
25+Total
01: Primitives

Button

VARIANTS
SIZES
ARCADE COMBOS
AS LINKS

Pass an href prop and Button renders as next/link automatically.

02: Primitives

Badge

COLOR VARIANTS
MagentaYellowChromeGreenCyan
CONTEXT
LiveRecordingIdleConnectedBuffering
03: Primitives

Text

BODY

Regular paragraph copy. Descriptions, readable blocks.

Space Grotesk0.95remline-height 1.75font-weight 500

Chrome-plated component copy at its finest. Use this for descriptions, feature explanations, and any block of readable text. Scales gracefully and pairs with Bungee display headings for that arcade machine aesthetic.

<Text variant="body">Your content here.</Text>
CAPTION

Dates, meta info, footnotes, helper hints.

Space Grotesk0.8remfont-weight 500muted color

Published March 22, 2026 // 3 min read // Visual Engine

<Text variant="caption">Published March 22, 2026</Text>
LABEL

Section sub-labels, categories, uppercase identifiers.

Space Grotesk0.7remuppercaseletter-spacing
default

Features

magenta

New Section

<Text variant="label">Features</Text>
CODE

File paths, token names, inline code references.

monospace0.85remmagentainline

src/app/globals.css

@/components/ui/Button

variant="primary"

<Text variant="code">src/app/globals.css</Text>
04: Primitives

Card

01
AUDIO REACTIVE

Every pixel responds to your audio input. Kick drums trigger geometry shifts. Hi-hats scatter particles. Bass warps the entire canvas. Zero latency FFT processing at 120fps.

Core
02
SHADER STACKS

Layer custom GLSL shaders like effects pedals. 60+ built-in shaders from chromatic aberration to feedback loops. Write your own or fork from the community library.

Creative
03
MIDI MAPPING

Map any visual parameter to any MIDI controller. Twist a knob on your Akai and watch color palettes shift in real time. Full MPE support for expressive control.

Control
USAGE
<Card card={{
  icon: '01',
  tag: 'Core',
  tagVariant: 'yellow',
  title: 'AUDIO REACTIVE',
  description: 'Every pixel responds to your audio...',
}} />
05: Theme System

Color Tokens

magenta

#FF2D8A

yellow

#FFE814

midnight

#0D0D2B

midnight-deep

#06061A

midnight-light

#151540

chrome-light

#e0e0f0

chrome-mid

#8888aa

chrome-dark

#44446a

green

#44dd88

cyan

#44ddff

white

#f0f0ff

white-dim

#a0a0c0

HOW TO SWAP TOKENS

All tokens live in src/app/globals.css under @theme. Change any value and every component updates automatically.

See it live on home