ds-badge
Pill tag for status and XP. Tonal fills in the system's playful hues, mono label.
tone
Luminous gradients, playful rings, motion that levels up.
Lumina reads a learning platform as a game you love opening. The ground is a warm near-white washed with a soft lavender-to-peach light, so a single violet gradient and a spray of orange, teal and amber accents feel like XP lighting up. A chunky grotesque display shouts the headline while monospace labels tick across like a HUD; rings, streaks and badges turn progress into something you can feel. Energetic but premium - play with restraint.
re-imagined from https://www.codelevel.dev/
Pull this design system into any project - it follows the system's tokens, recipes and rules. Run the commands yourself, or let your coding agent set it up and build.
npx synthesisui@latest loginnpx synthesisui add lumina --version 10@import "_synthesisui/ds/lumina/tokens.css";
@import "_synthesisui/ds/lumina/theme.css";Use the "Lumina" design system (slug: lumina) to: build the UI I describe next First make sure it's installed: run `npx synthesisui add lumina` if `_synthesisui/ds/lumina/` isn't in the project yet. Read these files first (highest authority first): - _synthesisui/ds/lumina/rules.md - project rules for this system (if present); obey them above everything else - _synthesisui/ds/lumina/philosophy.md - the mission, voice and principles (if present); let it shape every screen - _synthesisui/ds/lumina/v10/GUIDE.md - how to apply the system, the recipes and the token vocabulary Follow this contract (target framework: next): - First check whether this refers to UI that already exists in the project. If it does, modify only what's needed and keep the rest intact and on-system. If it doesn't, build it new. - Scope the markup with `data-ds="lumina"` (or rely on it at the app root). - Style with the design system only: reuse the `.ds-*` recipe classes and the DS-backed Tailwind utilities (`bg-primary`, `text-foreground`, `p-md`, `rounded-lg`, `font-display`…). Never use raw hex/px outside the system's scale. - Make sure `tokens.css` + `theme.css` are imported in the global CSS (see the GUIDE's "How to apply"). - Wire the behavior yourself (open/close, focus, routing) - the system ships the looks, not the JS. Composition (make it look composed, not just correct): - Cap page content with a max-width container and center it - this DS ships `max-w-app` for dashboards/wide UI and `max-w-prose` for text columns. Don't stretch content edge-to-edge. - Give the page a complete, intentional layout: clear vertical rhythm, sensible density and grouped sections. Never leave a single thin row floating on an empty screen. Deliver senior-level, production-quality code: clean structure, accessible (ARIA + keyboard), and responsive.
Paste into Claude Code, Cursor or any coding agent. From your project you can also run npx synthesisui use lumina "…".
What to install or load so the system renders at full fidelity - it ships token names and recipes, not the assets.
The system ships token names, not the fonts. Load them (Google Fonts, next/font or Fontsource) or type falls back to a generic family and loses the system's identity.
npm i lucide-reactComponents reference Lucide icon names. Install it (or swap in your own icon set) to render them.
npm i rechartsCharts are themed through your series tokens, but you bring the rendering library (the gallery uses Recharts).
Color
Named scales forged by the synthesis; semantic roles only ever point at them.
color.red
300#fca5a5
400#f87171
500#ef4444
600#dc2626
700#b91c1c
color.teal
50#ecfdf5
100#d1fae5
200#a7f3d0
300#6ee7b7
400#34d399
500#10b981
600#0d9488
700#0f766e
800#115e59
color.veil
500#0f172ab3
color.amber
100#fef3c7
200#fde68a
300#fcd34d
400#fbbf24
500#f59e0b
600#d97706
700#b45309
color.coral
50#fff7ed
100#ffedd5
200#fed7aa
300#fdba74
400#fb923c
500#f97316
600#ea580c
700#c2410c
800#9a3412
color.slate
50#ffffff
100#fbfaf6
200#f2f2f5
300#e2e3e9
400#b6bac6
500#8b90a0
600#5b6273
700#3d4456
800#1d2433
900#0f172a
950#060a14
color.violet
50#f5f3ff
100#ede9fe
200#ddd6fe
300#c4b5fd
400#a78bfa
500#8b5cf6
600#7c3aed
700#6d28d9
800#5b21b6
900#4c1d95
950#2e1065
color.semantic - resolved live via CSS variables
info
{color.violet.600}
faint
{color.slate.400}
muted
{color.slate.600}
scrim
{color.veil.500}
accent
{color.coral.700}
border
{color.slate.300}
canvas
{color.slate.100}
danger
{color.red.700}
raised
{color.slate.50}
overlay
{color.slate.200}
primary
{color.violet.600}
success
{color.teal.700}
surface
{color.slate.50}
warning
{color.amber.700}
foreground
{color.slate.900}
color.series - categorical data-viz palette (bg-series-*)
series-1
series-2
series-3
series-4
series-5
series-6
series-7
series-8
Foundations
Corner radius, spacing rhythm and elevation - the physical feel of the system.
radius
spacing
shadow
Typography
Display: Bricolage Grotesque · Body: Geist · Mono: Geist Mono
Motion
Every keyframe runs live below, dressed in the system's own colors - durations, easing curves and the interactions they power.
keyframes - 12 live
easings
durations
interaction patterns
A light beam sweeps across on a long cadence, then clears.
Soft color blobs roam slowly behind the content, never repeating in sync.
The hero's living gradient breathes, sliding its color field across a long, calm cadence.
Rewards and tiles pop in from a spark, overshooting once.
The status HUD scrolls endlessly across the top.
Sparkles fade and swell like distant XP catching the light.
Content rises softly into place, staggered by ~90ms.
A light sheen sweeps across primary CTAs on hover.
Cards rise 4px and gain a violet-tinted shadow.
Gradient headline text lets its spectrum drift back and forth.
Floating cards bob gently, alive but calm.
Live indicators pulse a violet ring to pull the eye.
Components · 46
Every value below is a token reference resolved by the renderer - hover, toggle and switch tabs to feel the states. Bespoke components are rendered from their anatomy hint.
Pill tag for status and XP. Tonal fills in the system's playful hues, mono label.
tone
Pill action. The primary intent carries the violet gradient signature and a soft glow; quieter intents stay in hairlines.
intent
Bespoke gamification chip - a warm flame count that celebrates a daily streak. The count leads bold; the label trails quiet.
Bespoke gamification progress bar - a track with a violet-to-light gradient fill that shimmers as it grows. Set the fill width inline.
tone
Bespoke community CTA - a pill that morphs on click into an inline email field with a Join button, then into a success state. All three layers share one grid cell so the layout never shifts; the width eases open and layers cross-fade with a staggered slide. The collapsed trigger stays pill; the field, Join action and success box share a 14px radius.
Floating content vessel. White surface, generous rounding and a soft shadow; lifts on hover with a violet-tinted glow.
emphasis
Default
A card wearing this system.
Featured
A card wearing this system.
Rounded field on white, hairline border that lights up violet on focus.
Inline text link, for words inside sentences - the underline is the affordance, so it reads as a link without relying on colour alone. For standalone actions use button; for navigation chrome use navbar/sidebar items.
Mono uppercase eyebrow with wide tracking - the HUD microtype that labels a section ("01 · ECOSYSTEM"). Use above headings; data-tone="accent" for the highlighted variant.
tone
HUD data readout - a mono tabular value over a micro uppercase label ("42s · AVG RENDER"). The corner instrument of cinematic scenes; pair with the count-up hook for live-feeling numbers.
Display heading on the system's type scale - the display family at a semibold weight. Pick a `size` step (defaults to 2xl) so headings stay on-scale without hand-set styles.
size
Body copy on the system's type scale. Pick a `size` step and a `tone`; defaults to base body text on the foreground color - so text stays on-system without hand-set styles.
size
tone
Vertical layout primitive - a flex column with a token `gap` (defaults to md). Stack sections/cards without hand-set flex styles.
gap
align
Horizontal layout primitive - a centered flex row with a token `gap` (defaults to sm). Compose toolbars/inline groups without hand-set flex styles.
gap
justify
align
Inline message. Tone maps onto the system's own semantic accents.
tone
Neutral
A message wearing this system.
Accent
A message wearing this system.
Primary
A message wearing this system.
Success
A message wearing this system.
Warning
A message wearing this system.
Danger
A message wearing this system.
Info
A message wearing this system.
Select trigger. Two ways to use it: drop ds-select straight on a native <select> (its default chrome is stripped via appearance:none - wrap it and overlay your own chevron), or use it on a custom trigger (button/div) and nest a ds-select-chevron indicator. Reveals a focus ring on interaction.
Binary toggle - the track wears the system, on flips primary. Set data-state="on" on the track and the thumb.
state
Native checkbox/radio tinted to the system via accent-color. Put ds-checkbox on an <input type="checkbox"> (or radio).
Native range slider tinted to the system via accent-color. Put ds-slider on an <input type="range">.
Native radio tinted to the system via accent-color. Put ds-radio on an <input type="radio"> and give grouped radios a shared name.
Numeric stepper - a value flanked by minus/plus controls. Compose ds-stepper with two ds-stepper-button (each a <button>; add the disabled attribute at a bound) and a ds-stepper-value between them.
Step indicator for a multi-step flow (wizard/checkout/onboarding). Compose ds-steps with ds-steps-step and ds-steps-connector between them; nest a ds-steps-marker (the numbered circle) and ds-steps-label inside each step. Mirror data-state="done|active|upcoming" on BOTH the step and its marker (like switch on/off).
Hairline separator. Horizontal by default; data-orientation="vertical" makes a vertical rule (stretches to the flex row height).
orientation
Segmented control. The trigger marked data-active="true" lifts onto a surface; panels carry the body.
Identity token - a sized circle showing initials (the fallback) or an image via the ds-avatar-img part.
size
Cluster of overlapping avatars. Wrap ds-avatar elements in ds-avatar-group and add ds-avatar-group-item to each so they overlap and ring against the surface. Drop the item class (or reset margin-left) on the first avatar.
Compact entity/filter token - a pill holding an avatar/icon, a label and an optional ds-chip-remove. Set data-active="true" for a selected filter (tints the primary); use a <button> or add ds-chip-remove for a dismissible chip.
active
Determinate track - the fill carries the primary.
Notification indicator to overlay on an icon/button. ds-count shows a number on a high-contrast inverted bubble (portable in any DS); data-dot="true" drops the label for a small alert dot tinted danger. Position it absolutely over the trigger.
dot
KPI / metric - a label over a prominent value, with an optional delta. Compose ds-stat with ds-stat-label, ds-stat-value and ds-stat-delta (tone=up/down colors the change against neutral). Line several ds-stat in a flex row with a divider/border for a KPI strip.
Data table. Compose <table class="ds-table"> with ds-table-head, ds-table-row, ds-table-cell-head and ds-table-cell.
| Project | Status | Updated |
|---|---|---|
| Halogen | Active | 2h ago |
| Cinnabar | Paused | 1d ago |
| Ember | Active | 3d ago |
Centered dialog over a scrim. Compose ds-modal (the centering layer) with ds-modal-overlay, ds-modal-panel, and ds-modal-header/body/footer.
Off-canvas panel (drawer) for mobile nav and side detail. Compose ds-sheet (the fixed layer) with ds-sheet-overlay (the scrim) and ds-sheet-panel; the panel docks to the right by default - data-side="left" docks it left.
Dropdown/popover surface. Compose ds-menu with ds-menu-item (tone=danger for destructive) and ds-menu-separator.
Form field group. Compose ds-field with ds-field-label, the control, ds-field-hint and (when invalid) ds-field-error.
App navigation rail. Compose ds-sidebar with ds-sidebar-item (active=true marks the current route).
App top bar - brand/search on the left, actions on the right.
Horizontal navigation bar. Compose ds-navbar with ds-navbar-item (active=true marks the current route; data-locked="true" dims a disabled/"soon" item).
Multi-line text field - the input's taller sibling.
Trail of ancestors. Compose ds-breadcrumb with ds-breadcrumb-item (current=true for the leaf) and ds-breadcrumb-separator.
Page navigation. Compose ds-pagination with ds-pagination-item (active=true for the current page).
Zero-data placeholder. Compose ds-empty-state with ds-empty-state-icon, ds-empty-state-title and ds-empty-state-description.
No projects yet
Create your first project to get started.
Transient notification. Tone tints the border; compose ds-toast with ds-toast-title and ds-toast-description.
tone
Small label bubble - inverted surface for contrast against the canvas.
Square, label-less action for toolbars and row controls - a quieter sibling of button.
Loading placeholder block. Ships the muted shape; animate it with Tailwind's `animate-pulse` (or a DS shimmer keyframe).
Engagement blocks · 5
Optional gamification blocks the AI advisor can propose - token-only, so they re-skin to any base. A library to compose from, not a parallel product.
Consecutive-day streak counter - rewards consistent return without nagging.
Experience / level progress bar - visualizes advancement toward a goal.
Circular progress ring - goal completion at a glance. Set --ds-ring (e.g. 72%).
Level / rank badge - recognizes earned status.
tier
Leaderboard - ranks peers to motivate progress (use sparingly in B2B).
Icons · lucide
Icons inherit the system: color via currentColor, a standardized stroke, sizing on the scale. Lucide by default; more libraries can be enabled per system.
Pages · 3
Full-page layouts assembled only from recipes and tokens - every region re-themes to the system automatically. Icons and media render as placeholders until their adapters land.
We'll tailor the workspace to your answers.
A complete design system, themed end to end - every token in its place, every screen already wearing your brand.
Free to start · no credit card requiredTokens compose into any surface you need.
Charts and dashboards inherit the theme for free.
App shells and landings assume your shape instantly.
Design once at the foundation and every component, chart and template re-dresses itself - no per-screen rework.
Every piece ships measured: contrast, hierarchy and consistency are scored before anything reaches production.
“We rebuilt our whole app on this system in a week - every screen came out consistent by default.”
Spin up your system and ship the first page before lunch.
Charts · 5
Chart recipes themed entirely from token refs - series, grid, axes and fills re-paint to the system automatically. Sample data; the theming is the point.