CEDUIX UI v1.1

Component Showcase

Every token in the 36-word vocabulary. One page. Zero dependencies.

Built with @layer OKLCH color-mix() light-dark() @starting-style @property

Explore GitHub
Layout primitives

Stack, Cluster, Grid, Sidebar

Core layout tokens. Compose with gap modifiers: sm md lg xl

ui="stack md"
Stack item 1
Stack item 2
Stack item 3
ui="cluster md"
Cluster Items Wrap Naturally On Overflow
ui="grid md"
Grid cell
Auto-fit
Responsive
Min 16rem
ui="sidebar lg"
Sidebar
Main content area — sidebar is auto-width, content fills remaining space
Surfaces

Card, Panel, Sheet, Overlay, Glass

Surface tokens with elevation and style modifiers.

ui="card"

Default Card

Base surface with hover border transition.

ui="card elevated"

Elevated

Medium shadow for depth.

ui="card raised"

Raised

Large shadow for prominence.

ui="card accent"

Accent

Gold border + glow shadow.

42
ui="card muted"

Muted

Subtle background, minimal border.

ui="card ghost"

Ghost

Transparent background and border.

ui="card outline"

Outline

Transparent bg with visible border.

ui="card glass"

Glass

Frosted glass with backdrop blur.

ui="panel"

Panel

Larger padding, XL radius. For major content areas.

ui="overlay" (with @starting-style entry)
Overlay surface — blur + @starting-style transition
Typography

Heading, Subheading, Body, Caption, Code

ui="heading xl"

Heading XL

ui="heading lg"

Heading LG

ui="heading"

Heading (default)

ui="heading sm"

Heading SM

ui="subheading"

Subheading — secondary title weight

ui="eyebrow"
Eyebrow label
ui="body"

Body text — the default reading weight. Optimized for long-form content at .9rem with 1.7 line-height.

ui="caption"
Caption — small annotation text
ui="code"

Inline code token and block:

// Block code
const ui = document.querySelector('[ui~="card"]');
console.log(ui.getAttribute('ui'));
Interactive

Button, Input, Badge, Alert, Stat

Buttons

Input

Badges

Default Accent Success Warning Danger

Alerts

Info — default alert for informational messages.
Success — operation completed successfully.
Warning — something needs attention.
Danger — a critical error has occurred.

Stat

2,847
Components
36
Tokens
0
Dependencies
Motion

Animate, Reveal, Delays

Scroll down to see reveal animations trigger.

ui="card reveal" (up)

Default

Slides up from below.

ui="card reveal from-left"

From Left

Slides in from the left.

ui="card reveal from-right"

From Right

Slides in from the right.

ui="card reveal from-down"

From Down

Drops down from above.

ui="card reveal fade"

Fade

Pure opacity, no movement.

Staggered delays (d1–d8)

d1
d2
d3
d4
d5
d6
d7
d8
Prose

Markdown Rendering

How CEDUIX Works

CEDUIX uses a single ui attribute with a 36-word vocabulary. Every component is composed from these tokens — max 4 per element.

Example

<div ui="card elevated">
  <h3 ui="heading sm">Title</h3>
  <p ui="body">Content</p>
</div>
CEDUIX is LLM-optimal: any language model can generate correct UI using just the vocabulary list.

Key Features

  • Zero dependencies — one CSS file
  • OKLCH color system with color-mix() derivatives
  • light-dark() for automatic theme support
  • @layer for clean cascade control

Read the full spec at CEDUIX_UI.md.

TokenTypeDescription
cardSurfaceBordered container with hover effect
stackLayoutVertical flex column
buttonInteractiveAction element with variants
headingTypographyTitle text with size modifiers
Utilities

Truncate, Grow, Shrink-0

ui="truncate"

This text is very long and will be truncated with an ellipsis when it overflows the container boundaries.

ui="grow" + ui="shrink-0"
Fixed
Grows to fill
Fixed
CEDUIX UI v1.1 — MIT License