UiForge
Prompt

Design system Verse — tokens, boutons, inputs, cards et badges

Composants UIStripeMinimalLuxuryMicro-interactionsHover effectReactTailwindshadcn/ui
Prêt à l'emploi

Copie le prompt dans le presse-papier, sans quitter la page.

❯ Prompt Claude
CONTEXT & GOAL
Build the foundations page of Verse, the design system for a fintech studio shipping savings and investment products. Audience: the studio's own engineers and designers, plus prospective clients who judge the studio by this page. The signature idea: every design token is presented as a dictionary entry — name, value, and a usage note like a pronunciation guide ("use for: primary actions only, one per view") — and the entire page is built exclusively from the components it documents. The page is its own proof.

ART DIRECTION
Swiss fintech specimen: paper-white ground, midnight-blue ink, a restrained gold accent for moments of emphasis, typographic rigor of a type-foundry specimen sheet. References: Stripe's docs polish, Swiss International Style specimen posters, private-bank stationery. What separates it from a generic storybook dump: the dictionary-entry framing gives every token a voice and an opinion, and nothing on the page exists outside the documented system.

COLOR SYSTEM
Documented as the system itself — Background: #FCFCFA (token: surface/page). Card surface: #FFFFFF (surface/raised) with border #E6E4DC (line/default). Ink primary: #14213D (text/primary). Ink secondary: #5C6273 (text/secondary). Ink muted: #9BA0AC (text/muted). Accent midnight: #14213D doubling as primary button fill; button hover #1E2E52, active #0E1830. Gold accent: #B8912E (accent/emphasis), hover #A37F24 — reserved for the "New" badge and section markers. Semantic: success #1F7A4D (on #E7F3EC), warning #9A6700 (on #FBF1DC), danger #B3261E (on #FBE9E7), info #1B5FA8 (on #E8F0FA). Focus ring: #1B5FA8 at 2px. Each color renders as a swatch entry showing its hex, its token name, and its contrast ratio against its designated background (for example "text/primary on surface/page — 14.9:1 AAA").

TYPOGRAPHY
Display and headings in Libre Caslon Text: h1 40px/115% weight 400 ("Verse — Foundations"), h2 28px/125%, h3 20px/130% weight 700. UI text in Inter: body 15px/24px weight 400, small 13px/19px, caption 12px/16px weight 500. Token names and values in IBM Plex Mono 13px/20px weight 450 (fallback 400). The typographic scale itself is documented as specimen rows: each size shown with a live sample sentence ("Compound interest is patience, quantified."), its rem value, line-height, and usage note.

LAYOUT & GRID
Max-width 1080px centered, 32px side padding, a sticky 200px anchor-nav rail on the left from 1280px up (collapses to a horizontal scroll-spy pill bar below that). Sections separated by 96px with a gold numbered marker ("01 — Color", "02 — Type", "03 — Space and radius", "04 — Buttons", "05 — Inputs", "06 — Cards", "07 — Badges"). Token tables: 3-column dictionary layout (name mono, value with visual sample, usage note) with 16px row padding and hairline dividers. Component galleries: each variant row shows the component at rest plus a states strip (hover, focus-visible, active, disabled, loading where relevant) rendered statically side by side AND a live interactive specimen. Mobile: single column, tables become stacked cards per token.

SECTIONS & COMPONENTS
Color section: swatch entries as described, click-to-copy hex with a "Copied #14213D" toast built from the system's own toast card. Space and radius: spacing scale 4/8/12/16/24/32/48/64px as gold-tinted rulers; radius tokens 6px (inputs), 10px (cards), 999px (badges); shadow tokens "shadow/rest: 0 1px 2px rgba(20,33,61,0.06)" and "shadow/lift: 0 8px 24px rgba(20,33,61,0.10)". Buttons: primary (midnight fill), secondary (line border), ghost, destructive — in 32/40/48px heights, each with the full states strip: hover (fill shift), focus-visible (blue ring, 2px offset), active (translateY 1px), disabled (40% opacity), loading (spinner with retained width). Real labels: "Open an account", "See projections", "Cancel", "Close account". Inputs: text field (label, helper "We never share your email", error "This IBAN looks too short — expected 27 characters", disabled, prefix glyph variant), select (Radix-based, listing "Livret A / PEA / Assurance-vie"), textarea with counter "140/280". Cards: default, interactive (hover lift plus focus ring), metric ("Average deposit — 412 EUR/month, up 8% this quarter"), alert card in the four semantic tones ("Your November statement is ready"). Badges: status dots (Active, Pending, Closed), numeric counter, the gold "New" badge; each with a usage note ("counter badges cap at 99+"). Empty state pattern: a live sample ("No transactions yet — your first deposit will appear here").

MOTION
Documented as tokens too — duration/fast 120ms (hover fills, copy feedback), duration/base 200ms (focus rings, card lift), duration/slow 320ms (section reveals), easing/standard cubic-bezier(0.4,0,0.2,1), easing/enter cubic-bezier(0.16,1,0.3,1). Copy-to-clipboard: the value flashes gold and the toast slides up 8px with fade over 200ms easing/enter, auto-dismissing at 2400ms. Card lift on hover: shadow/rest to shadow/lift plus translateY -2px over 200ms. Anchor navigation: smooth-scroll with the scroll-spy pill sliding between items via a 180ms shared-layout transition. Section reveal on first scroll into view: opacity plus 12px rise, 320ms, once. The states strip includes an "animate states" toggle that cycles a live button through its states every 1200ms for documentation. Reduced motion: all reveals and lifts become instant, the toast fades 100ms, the auto-cycle toggle is disabled by default.

TECH & QUALITY
React 18, Tailwind CSS v4 with every token declared as a CSS custom property in an @theme block (single source of truth), shadcn/ui primitives restyled to Verse tokens, Radix UI for select and toast. Files: app/foundations/page.tsx, components/verse/(button|input|card|badge|toast).tsx, lib/tokens.ts (exports the token map that both the CSS and the documentation tables consume — the docs can never drift from the code). Accessibility is documented inline: every color entry shows its WCAG ratio, focus-visible styles are specified per component, all specimens are real focusable elements (not screenshots), headings follow a strict h1-h3 hierarchy, and the anchor nav is a nav with aria-current on the active section.
Objectif

Page de fondations du design system Verse, la voix visuelle d'un studio fintech pour produits d'epargne. Idee signature : chaque token est presente comme une entree de dictionnaire — nom, valeur, prononciation d'usage (« quand l'utiliser ») — et la page entiere est composee uniquement avec les composants qu'elle documente, preuve par l'exemple.

Style

Light suisse fintech, bleu nuit et or discret, rigueur typographique de specimen

Composants
Table des tokens (couleurs, espacements, radius, ombres) en entrees de dictionnaireGamme de boutons (primaire, secondaire, ghost, destructif) en 3 taillesChamps de saisie (texte, select, textarea) avec tous les etatsFamille de cards (defaut, interactive, metrique, alerte)Collection de badges (statut, compteur, nouveaute)Nuancier de couleurs avec ratios de contraste affichesEchelle typographique specimenBarre de navigation d'ancres de la page
Animations
Copie du token au clic avec confirmation animeeSurvol des swatches avec elevation du nuancierTransitions d'etat des boutons en demonstration automatiqueApparition des sections a l'ancre
Stack technique
React 18Tailwind CSS v4shadcn/uiRadix UI
Scores
9/10
Qualité
8/10
Originalité
Notes de revue

Force : présenter chaque token comme une entrée de dictionnaire avec note d'usage, et composer la page uniquement avec les composants documentés, est une preuve par l'exemple élégante. Faiblesse : le genre « page de fondations de design system » reste un exercice assez balisé. Pas de réécriture nécessaire.

À voir aussi

Prompts liés

Composants UI

Sidebar de navigation Quill — repliable avec sections et compteurs

Light suisse chaleureux, blanc casse et encre, accents par section facon dos de livres

Q 9/10O 9/10MinimalAppleStripe
Composants UI

Colophon – trois fins de page pour Ridgeline

Éditorial serif clair, papier ivoire, encre presque noire, vert forêt en accent, filets fins façon livre imprimé.

Q 9/10O 9/10EditorialMinimalPrint
Composants UI

Data table Ledger — tri, selection et colonnes fixes

Brutalist facon registre papier, bordures noires epaisses, aplats jaune avertissement

Q 9/10O 9/10BrutalistMinimalMicro-interactions