UiForge
Prompt

Sentier pointillé – le « comment ça marche » de Picnic

Composants UIPlayfulMinimalOrganicScroll revealStaggerMicro-interactionsReactTailwindGSAP
Prêt à l'emploi

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

❯ Prompt Claude
1. CONTEXT & GOAL
Build the 'how it works' section for Picnic, an app that organizes group outings — birthdays, reunions, team days — replacing chaotic group chats with one shared plan. The audience is casual organizers aged 25-45 who want it to feel fun, not corporate. Deliver three layout variants on one demo page: vertical timeline, horizontal strip, and zigzag path. Signature idea: a dotted trail draws itself between the steps as you scroll — like a walking route sketched on a treasure map — and when the trail reaches a step, a tiny flag plants itself on the step marker with a springy bounce. The trail is the narrative thread; users literally watch the plan come together.

2. ART DIRECTION
Sunny flat illustration: warm cream ground, coral, sky blue and sunflower accents, chunky rounded shapes (16-24px radius), hand-plotted dotted paths with slight imperfection (dots vary 3-5px). Icons are flat two-tone doodles: a paper invite, a calendar with a heart, a map pin picnic basket, a confetti burst. No gradients, no shadows heavier than 0 2px 0 rgba(0,0,0,0.06) — the style is paper-craft, as if cut and glued. Distinct from generic playful templates by the cartographic trail metaphor and the physical flag-planting moment.

3. COLOR SYSTEM
Background #FFF9F0. Card surface #FFFFFF, border #F0E4D2. Text primary #3A3128, secondary #7A6E5D, muted #B0A490. Coral #FF6B57 (hover #EE5843, active #D9482F) — primary accent and CTA. Sky #66B8E8 for variant B accents and flags, sunflower #FFC94D for variant C and highlights, leaf #7FBF7A for success touches. Trail dots #D9A93E at 80%. Step number chips: background #FF6B57 text #FFF9F0 (variant A), #66B8E8 (B), #FFC94D with #3A3128 text (C). Focus ring 3px rgba(255,107,87,0.4). CTA disabled #E8DCC8 with #B0A490 text. Flag pole #7A6E5D, flag cloth matches variant accent.

4. TYPOGRAPHY
Headings 'Baloo 2' (Google Fonts) weight 600: section title 38px/44px, step titles 20px/26px. Body 'Nunito' weight 500, 16px/25px, secondary 14px/22px. Step numbers 'Baloo 2' 18px/1 weight 700 inside 36px circular chips. Kicker 13px/18px 'Nunito' weight 800 uppercase letter-spacing 0.1em color #FF6B57. CTA label 16px/20px 'Baloo 2' weight 600.

5. LAYOUT & GRID
Container max 1100px, 24px/48px padding, variants stacked with 140px gaps and small demo labels. Variant A (vertical): steps in a single column max 560px, left-aligned, the trail running down a 48px-wide left gutter connecting the number chips; step cards 24px padding. Variant B (horizontal): 4 equal columns with the trail running horizontally through the chip row above the cards; below 900px it becomes 2x2, below 560px it falls back to the vertical pattern. Variant C (zigzag): cards alternate left/right at 55% width, trail weaving between them in S-curves; on mobile the zigzag straightens into the vertical layout. CTA block centered 64px after each variant's last step. Vertical rhythm inside variants: 56px between steps.

6. SECTIONS & COMPONENTS
Section header: kicker 'HOW PICNIC WORKS', title 'From "we should totally meet up" to actually meeting up.', subline 'Four steps. Zero group-chat archaeology.' The four steps (same content across variants): 1 'Create the outing' — 'Name it, pick two or three date options, add a place idea. Takes 40 seconds.'; 2 'Invite the crew' — 'One link by SMS or WhatsApp. No account needed to vote.'; 3 'Lock the plan' — 'Picnic tallies votes and locks the winning date. Everyone gets the summary.'; 4 'Show up happy' — 'Reminders, map pin and a shared checklist: who brings the cake, who brings the speaker.' Each step card: number chip, doodle icon, title, description. States: card hover (border warms to variant accent, icon wiggles), focus-visible ring on the whole card when it wraps a link, active press scale 0.99. CTA 'Create my outing — it is free' with hover/active/focus-visible/disabled/loading (spinner + 'Setting up...') states. Empty/edge state: if JS is disabled the trail renders complete and static (SSR-drawn), steps fully visible.

7. MOTION
Trail draw: the dotted SVG path uses stroke-dasharray for dots and animates stroke-dashoffset mapped to scroll progress through GSAP ScrollTrigger (scrub 0.6) — the trail head stays roughly at 40% viewport height. Flag plant: when the trail reaches a chip, the flag scales from 0 with rotation -12deg to 0deg, spring via GSAP elastic.out(1, 0.5), 600ms, then loops a gentle sway rotation -3deg to 3deg every 2600ms ease-in-out. Cards reveal as the trail passes: opacity 0 to 1, translateY(20px) to 0, 450ms power2.out, staggered naturally by scroll order. Icon wiggle on hover: rotation keyframes 0/-8/8/0 over 400ms. Number chips pop scale 0.6 to 1 back.out(1.7) 350ms when reached. prefers-reduced-motion: trail renders fully drawn, flags pre-planted and static, cards fade in 120ms opacity-only, no sway, no wiggle.

8. TECH & QUALITY
React 19, Tailwind CSS v4 tokens, GSAP 3 + ScrollTrigger for the scrubbed trail (registerPlugin, cleanup on unmount), SVG paths authored per variant with vector-effect non-scaling-stroke. Files: components/how/HowVertical.tsx, HowHorizontal.tsx, HowZigzag.tsx, TrailPath.tsx, StepCard.tsx, demo app/demo/how-it-works/page.tsx. Accessibility: steps are an ol with visible numbering (the chips) and semantic li; trail and flags aria-hidden decorative; section landmark with aria-labelledby the title; contrast verified (#3A3128 on #FFF9F0 = 11.7:1, #7A6E5D = 4.9:1, #FFF9F0 on #FF6B57 = 4.6:1 used at 18px+ bold only); keyboard focus order follows step order in all variants including zigzag; ScrollTrigger respects prefers-reduced-motion via gsap.matchMedia.
Objectif

Picnic est une app qui organise des sorties de groupe (anniversaires, retrouvailles, teambuildings) sans le chaos des fils de discussion. Cette section « comment ça marche » se décline en trois layouts : timeline verticale, frise horizontale et parcours zigzag. Idée signature : un sentier pointillé se dessine au scroll entre les étapes, comme un tracé de balade sur une carte au trésor, avec un petit fanion planté à chaque étape atteinte.

Style

Pastel joyeux et ensoleillé, crème, corail, ciel et tournesol, formes rondes, illustrations plates.

Composants
Variante verticale : 4 étapes en colonne avec sentier latéralVariante horizontale : frise 4 étapes sur une ligneVariante zigzag : étapes alternées gauche/droiteSentier pointillé SVG dessiné au scrollFanions plantés à chaque étape atteinteCartes d'étape avec numéro, icône et descriptionCTA de fin de parcours « créer ma sortie »Page de démo avec les trois variantes séparées
Animations
Tracé progressif du sentier pointillé lié au scrollPlantage du fanion avec rebond à chaque étapeApparition des cartes en staggerBalancement doux des fanions en boucleWiggle de l'icône au hover de la carte
Stack technique
React 19Tailwind CSS v4GSAPScrollTrigger
Scores
9/10
Qualité
8/10
Originalité
Notes de revue

Force : le sentier pointillé qui se dessine au scroll avec un fanion planté à chaque étape est une métaphore cartographique chaleureuse et bien exécutée en trois layouts. Faiblesse : le format « comment ça marche en 4 étapes » reste un schéma d'onboarding classique. Pas de changement nécessaire.

À voir aussi

Prompts liés

Composants UI

Inscription en diptyque – Loamly, un compte qui germe

Pastel végétal chaleureux, vert sauge et crème, illustrations botaniques plates, ambiance douce et encourageante.

Q 9/10O 9/10PlayfulOrganicMinimal
Composants UI

Centre de notifications Harbor — dropdown et page complete

Warm neutrals facon carnet papier, encre douce, chaleureux et feutre

Q 9/10O 8/10MinimalFramerMicro-interactions
Composants UI

Compteurs odomètre – les chiffres de Relay Grid

Terminal monospace ambré, fond bitume presque noir, esthétique salle de contrôle réseau, hairlines et badges de statut.

Q 9/10O 8/10Dark modeMonospaceRetro terminal