UiForge
Prompt

Carte postale abonnée – newsletters risographes de Feuillette

Composants UIPrintPlayfulBrutalistMicro-interactionsFadeHover effectReactTailwindFramer Motion
Prêt à l'emploi

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

❯ Prompt Claude
1. CONTEXT & GOAL
Build the email-capture system for Feuillette, a weekly newsletter about artisan bread and pastry — recipes, technique deep-dives and bakery addresses, written by a former boulanger. Three formats on a demo article page: an inline bar at the end of the article, an in-content insert card mid-article, and an exit-intent popup. Signature idea: the popup is a risograph postcard — two-ink grainy print, a perforated stamp in the corner, a handwritten address line — and a successful signup slams an animated 'OBLITÉRÉ' postmark over the stamp with a rubber-stamp impact, so subscribing feels like mailing a real postcard back to the baker.

2. ART DIRECTION
Risograph zine: cream stock, strict two-ink palette (ultramarine + fluorescent pink), visible grain texture (SVG noise at 8% multiply), slightly misregistered overprints where pink offsets 1px from blue on decorative elements. Shapes are honest print objects: perforated stamp edges, dashed cut lines, a postmark circle. Type mixes a chunky display with a workhorse sans, like a food fanzine. Absolutely no gradients or shadows — depth comes from overprint and paper tones.

3. COLOR SYSTEM
Paper background #FAF6EE. Popup card stock #FFFDF7 with grain overlay. Ultramarine ink #2B4BD7, hover #1F3AB5, active #182E93. Fluo pink #FF4D8F, hover #F03579, used for highlights, the stamp illustration and the postmark. Deep ink text #1E1A16, secondary #6A6258, muted #A79D8E. Input: background #FFFDF7, border 2px #1E1A16, focus border #2B4BD7 with offset outline 2px #FF4D8F (double-ink focus), error border #D6336C with message text #B02456 and background tint #FCEAF1. Button primary: background #2B4BD7, text #FAF6EE, hover #1F3AB5, active #182E93, disabled #C9C2B4 with #FAF6EE text, loading spinner #FAF6EE. Success postmark #FF4D8F at 90%. Close button ink #6A6258 hover #1E1A16. Dashed cut lines #A79D8E.

4. TYPOGRAPHY
Display in 'Syne' (Google Fonts) weight 700-800: popup headline 30px/34px, insert card headline 24px/28px, inline bar headline 18px/24px. Body 'Work Sans' 15px/23px weight 400, secondary 13px/19px. Handwritten address line in 'Caveat' 22px/26px color #2B4BD7 rotated -1deg. Button labels 'Work Sans' 14px/18px weight 700 uppercase letter-spacing 0.06em. Postmark text 'Work Sans' 11px weight 700 uppercase curved along the circle. Frequency labels 13px/18px. Legal microcopy 11px/16px color #A79D8E.

5. LAYOUT & GRID
Demo article page: 680px reading column with a real recipe article ('The 72-hour croissant, demystified') long enough to scroll; insert card appears after the third section; inline bar closes the article. Inline bar: full column width, 2px ink border, horizontal layout — headline + email input + button on one line >=760px, stacking below. Insert card: full column width, 32px padding, stamp motif top-right, headline, one-line proof, input row, frequency checkboxes. Popup: 480px wide (92vw mobile), postcard ratio 3:2 rotated -0.8deg, centered overlay with #1E1A16 at 40% backdrop; content split like a real postcard back — left half message, right half 'address' side with the input styled as ruled address lines, stamp top-right 72x88px with perforated border. Popup padding 28px, close button top-right outside the rotation.

6. SECTIONS & COMPONENTS
Copy — inline bar: 'Liked this? The next technique lands Sunday.' + input placeholder 'your@email.com' + button 'Subscribe'. Insert card: headline 'One bake, every Sunday.', proof line 'Join 8,412 home bakers — the lamination guide alone is worth it.', frequency checkboxes 'Weekly (the full letter)' / 'Monthly digest'. Popup: headline 'Before you go — a postcard from the bakery.', message side 'Every Sunday: one recipe, one technique, one address worth the detour. Free, no crumbs.', Caveat address line 'To: a future croissant expert', input on ruled lines, button 'Send me the letter', legal 'Unsubscribe anytime. We never share your address.' Exit-intent trigger: desktop mouseout past the top viewport edge (once per session, cooldown stored in localStorage, never before 20s on page or if already subscribed); mobile fallback: triggered at 70% scroll depth instead. States: inputs default/hover/focus/error ('That address will not receive croissants — check the typo.')/duplicate ('Already subscribed — check your Sunday inbox.')/disabled/loading; buttons all states; checkboxes with custom ink checks, hover, focus-visible, checked; close button hover/focus; after dismissal the popup never returns but the inline bar gains a small pink dot reminder. Success: postmark stamps over the stamp illustration, button morphs to 'Posted! Check your inbox.', inputs lock disabled.

7. MOTION
Popup entry: the postcard slides up from bottom translateY(48px) + rotation -4deg to -0.8deg + opacity 0 to 1, spring stiffness 260 damping 22 — it 'lands' on the desk; backdrop fades 200ms. Postmark stamp: scale 1.6 to 1 with opacity 0 to 1 over 180ms cubic-bezier(0.7,0,0.3,1), then a 60ms 2px shake of the whole card on impact, then ink-bleed: postmark opacity settles 100 to 88% over 400ms. Stamp perforation hover: gentle 1px vertical ripple across perforation dots, 600ms stagger 20ms. Insert card scroll reveal: opacity + translateY(16px), 400ms cubic-bezier(0.16,1,0.3,1). Error shake: translateX 0/-5/5/-2/0 over 260ms. Grain is static (never animate noise). Misregistration on button hover: the pink offset layer shifts from 1px to 2px, 120ms. prefers-reduced-motion: popup fades 150ms without slide or rotation, no impact shake (postmark fades in), no ripple, no shake on error (color + message only), reveals become fades.

8. TECH & QUALITY
React 19, Tailwind CSS v4 tokens, Framer Motion for the landing spring and postmark, a useExitIntent hook (mouseout + scroll-depth fallback, localStorage keys feuillette_dismissed / feuillette_subscribed with 30-day expiry). Files: components/newsletter/InlineBar.tsx, InsertCard.tsx, ExitPostcard.tsx, Postmark.tsx, useExitIntent.ts, demo app/demo/newsletter/page.tsx with the article. Accessibility: popup is a proper dialog (role=dialog, aria-modal, labelled by its headline) with focus trap, Escape and backdrop close, and focus restored to the prior element; it never opens while a form field has focus; inputs have visible labels or aria-label plus aria-describedby for errors and aria-live=polite for success; checkboxes are native inputs; contrast verified (#1E1A16 on #FAF6EE = 14.6:1, #2B4BD7 on #FAF6EE = 6.5:1, #FAF6EE on #2B4BD7 = 6.5:1); grain overlays aria-hidden and pointer-events none; the exit-intent respects reduced motion and never traps scroll.
Objectif

Feuillette est une newsletter hebdomadaire de boulangerie-pâtisserie artisanale (recettes, adresses, techniques). Ce widget de capture d'email se décline en trois formats : barre inline en fin d'article, carte encart au fil du contenu, et popup exit-intent. Idée signature : le popup est une carte postale risographe — visuel grain riso deux tons, timbre dentelé, adresse manuscrite — et l'inscription réussie « tamponne » un cachet OBLITÉRÉ animé sur le timbre.

Style

Risographe artisanal, papier crème, bleu outremer et rose fluo en bichromie, grain imprimé, esprit fanzine culinaire.

Composants
Barre inline de fin d'article avec champ emailCarte encart au fil du contenu avec argument socialPopup exit-intent en carte postale avec timbreCachet postal animé à l'inscription réussieCase à cocher fréquence (hebdo ou mensuel)Gestion des erreurs d'email et des doublonsBouton de fermeture et rappel discret après refusPage d'article de démo déclenchant les trois formats
Animations
Tamponnage du cachet OBLITÉRÉ avec impact et rotationEntrée du popup en carte qui glisse et se poseOndulation du bord dentelé du timbre au hoverApparition de la carte encart au scrollVibration légère du champ en erreur
Stack technique
React 19Tailwind CSS v4Framer Motion
Scores
7/10
Qualité
9/10
Originalité
Notes de revue

Force : le popup en carte postale risographe avec cachet OBLITÉRÉ animé à l'inscription est une idée signature très originale et parfaitement raccord avec l'univers zine culinaire. Faiblesse : une coquille de couleur a été corrigée (hex tronqué sur l'état actif de l'encre outremer) et le prompt dépasse nettement la fourchette de mots (960, soit +60). Corrigé pour la couleur ; conservé en longueur vu la richesse du contenu.

À voir aussi

Prompts liés

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

FAQ béton – accordéons bruts de la Fonderie

Brutalisme typographique, blanc pur, noir dense, jaune signal, bordures épaisses, aucun arrondi.

Q 9/10O 9/10BrutalistMonospaceAwwwards
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