UiForge
Prompt

Thème Bonbon — pastels saturés playful

Thèmes & stylesMinimalBrutalistHover effectMicro-interactionsStaggerTailwindCSS Custom PropertiesFramer Motion
Prêt à l'emploi

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

❯ Prompt Claude
1. CONTEXT & GOAL
Design 'Candy Shop', a saturated-pastel color system for joyful consumer products — kids' learning apps, creative communities, family organizers. Audience: teams that want genuine playfulness executed with system-level rigor, not clip-art chaos. Signature idea: 'Flavored Shadows' — the four semantic colors are named flavors (Strawberry, Lemon, Mint, Blueberry) and every hard offset shadow is tinted with its element's own flavor at 30% saturation, never grey, so even the shadows taste like candy.

2. ART DIRECTION
Sugar-coated pastels with real saturation punch (not washed-out millennial pink), references Duolingo's confidence and Headspace's warmth crossed with Japanese candy packaging. Corners very round (16-24px radius), 2px borders in a warm charcoal (never pure black), hard offset shadows with zero blur. Dark mode is 'midnight candy store': deep plum background where the flavors glow slightly brighter.

3. COLOR SYSTEM
Light (default): --color-bg #FFF6EE; --color-surface #FFFFFF; --color-surface-raised #FFF0F5; --color-border #33272E (2px); --color-text-primary #33272E; --color-text-secondary #6E5D66; --color-text-muted #9C8B94. Accent bubblegum --color-accent #F472B6 hover #F98CC4 active #E45CA4. Flavors/semantic: success Mint #34D399 hover #4FE0AC active #26B983, shadow tint #A7EBD2; warning Lemon #FACC15 hover #FBD84A active #E0B60D, shadow tint #FBEBA3; danger Strawberry #F87171 hover #FA8C8C active #E55A5A, shadow tint #FCC5C5; info Blueberry #818CF8 hover #97A0FA active #6B77E8, shadow tint #C6CBFC. Shadow recipe: 4px 4px 0 0 var(--shadow-flavor). Dark: --color-bg #241B2E; --color-surface #2F2439; --color-border #F5E9F0; --color-text-primary #F9F2F6; --color-text-secondary #C9B8C4; flavor shadow tints drop to 40% opacity. Verified contrast: text-primary/bg light = 12.4:1; charcoal text on bubblegum accent = 5.6:1; text-primary/bg dark = 14.1:1; Lemon on dark plum = 10.8:1 (AAA).

4. TYPOGRAPHY
Headings 'Baloo 2' weight 700 (round, friendly, still professional), body 'Nunito' weight 400/600, numbers 'Baloo 2' 600 tabular. H1 42px/48px, H2 30px/36px, H3 22px/28px, body 16px/26px, small 14px/22px, caption 13px/18px weight 700 (no uppercase — friendlier lowercase labels).

5. LAYOUT & GRID
Demo container max-width 1080px, 32px padding desktop/16px mobile. Header 72px with bouncy wordmark and toggle. Grid: button row, 3-card row (1 col below 768px) with 28px gap, form/table split 400px/flex stacking below 900px, badge strip. Vertical rhythm 72px desktop/44px mobile.

6. SECTIONS & COMPONENTS
Buttons: Primary (bubblegum fill + strawberry-tinted shadow), Secondary (white fill, charcoal border, mint shadow), Ghost, Danger (strawberry fill) — hover shadow grows 4px→6px, focus-visible 3px blueberry ring offset 2px, active shadow collapses to 0 with button translating 4px/4px (pressed candy), disabled desaturated opacity 0.45, loading spinner. Cards: 'Today's Streak' (mint shadow), 'New Badges' (lemon shadow), 'Family Leaderboard' (blueberry shadow), each with a big rounded stat and flavor-matched icon chip. Form: kid-profile creation with nickname + avatar-color picker (five flavor swatches as radio buttons), focus ring blueberry, inline error 'Nicknames need 3+ letters' in strawberry. Table: columns Player / Level / Stars / Flavor, rows with 12px radius and flavor badges, hover row lifts with a 2px flavor shadow, sortable headers. Badges: flavor pills with matching shadow tints. Alert: a lemon-shadowed inline banner ('New badge unlocked — Streak Master!') with a rounded dismiss button, hover/focus states matching the button language, message never conveyed by color alone.

7. MOTION
Button press: translate 4px/4px + shadow collapse over 90ms ease-in, release springs back with stiffness 500 damping 18 (candy snap). Card mount: scale 0.92→1 + fade, spring stiffness 300 damping 20, staggered 80ms. Shadow-grow hover: 4px→6px offset over 140ms cubic-bezier(0.34,1.56,0.64,1). Badge hover wiggle: rotate -3deg→3deg→0 over 260ms ease-in-out. Alert banner pops in with the same spring as cards, dismiss fades 100ms. Theme toggle: 220ms cross-fade. prefers-reduced-motion: no springs or wiggles (instant state changes), shadow changes instant, keep 100ms opacity fades only.

8. TECH & QUALITY
CSS custom properties (including per-flavor shadow tokens) + Tailwind CSS v4 @theme, Framer Motion for springs. File structure: styles/tokens.css, components/theme/FlavorShadow.tsx, ThemeToggle.tsx, DemoPage.tsx. Accessibility: all text ratios above meet WCAG AA; flavor colors always paired with text/icon labels (color-blind safe); focus-visible 3px rings never removed; avatar-color radio group uses fieldset/legend with visible labels; playful motion fully gated behind prefers-reduced-motion.
Objectif

Système de couleurs joyeux pour produits grand public (apps éducatives, communautés créatives, outils famille) qui veulent une gaieté assumée sans infantilisme. Idée signature : chaque couleur sémantique est un « parfum » nommé (fraise, citron, menthe, myrtille) et les ombres franches décalées sont toujours teintées du parfum de leur élément, jamais grises. Livré en light et dark avec page de démonstration complète.

Style

Pastels saturés façon confiserie, coins très arrondis, ombres franches colorées décalées, gaieté maîtrisée.

Composants
Page de démo avec header et toggle clair/sombreRangée de boutons primary/secondary/ghost/dangerGrille de 3 cartes bonbon à ombres coloréesFormulaire de création de profil enfantTable triable à lignes arrondiesGroupe de badges parfums (fraise, citron, menthe, myrtille)Bannière d'alerte inline
Animations
Rebond gourmand des boutons à l'appuiOmbre colorée qui grandit au survolApparition en cascade rebondissante des cartesWiggle léger des badges au survolTransition fondu entre light et dark mode
Stack technique
Tailwind CSS v4CSS Custom PropertiesFramer Motion
Scores
8/10
Qualité
9/10
Originalité
Notes de revue

Force : nommer chaque couleur sémantique comme un parfum et teinter les ombres franches de ce parfum plutôt qu'en gris est une idée signature très originale et ludique sans être infantilisante. Faiblesse : la bannière d'alerte annoncée dans les composants manquait de description ; complétée avec une bannière et son motion associé.

À voir aussi

Prompts liés

Thèmes & styles

Langage Argile Douce — soft UI claymorphism

Claymorphism mat et généreux, doubles ombres externes plus ombre interne haute, teintes d'argile pastel, zéro bordure dure.

Q 9/10O 8/10MinimalOrganicMicro-interactions
Thèmes & styles

Langage Neubrutalism — bordures dures et ombres décalées

Neubrutalism assumé, bordures noires 3px, ombres pleines décalées sans flou, aplats francs, physique de plaques rigides.

Q 9/10O 8/10BrutalistAwwwardsHover effect
Thèmes & styles

Langage Aurora — mesh gradients animés et glows

Aurores boréales numériques, mesh gradients lents sur fond nuit, glows colorés profonds, interface qui répond à la lumière.

Q 9/10O 9/10FuturisticDark modeAwwwards