Vague fantôme – skeletons synchronisés de Ledgerly
Light froid et professionnel, gris ardoise bleutés, surfaces nettes, précision comptable.
Copie le prompt dans le presse-papier, sans quitter la page.
1. CONTEXT & GOAL
Build the search-and-filter experience for Curio, a marketplace for vintage design objects — lighting, chairs, ceramics, glassware from 1930 to 1990. Users are collectors and interior architects who filter aggressively by designer, era, material and price. Deliverables: a search bar, a faceted filter panel, an active-chips row, a sort menu, a live results counter, and a results grid with empty state. Signature idea: applied filters physically land in the chips row — each new chip drops in with a small bounce like an inventory tag being pinned to a board, and every change makes the results counter roll to its new value, so filtering feels like handling real stock tickets rather than toggling checkboxes.
2. ART DIRECTION
Professional tool in daylight: off-white ground, soft black ink, hairline borders, one emerald accent reserved for applied/active states. Density is a feature — compact paddings, tabular numbers, everything aligned. References: Vercel dashboard, Linear settings, an auction-house catalogue's typographic discipline. The warmth comes from the objects in the grid, so the chrome stays neutral and quiet.
3. COLOR SYSTEM
Background #FCFCFB. Panel and card surface #FFFFFF, hover surface #F6F6F4. Borders #E6E6E2, strong border #D2D2CC. Text primary #1A1A16, secondary #6B6B62, muted #A3A398. Accent emerald #059669, hover #047857, active #065F46, tint background #ECFDF5, tint border #A7F3D0. Chips: background #ECFDF5, border #A7F3D0, text #065F46, close icon #059669 hover #047857 on darker tint #D1FAE5. Search bar: border #E6E6E2, focus border #059669 with 3px ring rgba(5,150,105,0.18). Slider track #E6E6E2, range #059669, handles white with border #D2D2CC, focus ring emerald. Destructive clear-all text #B91C1C hover #991B1B. Empty-state illustration strokes #D2D2CC. Kbd badge background #F6F6F4 border #E6E6E2 text #6B6B62.
4. TYPOGRAPHY
Everything in 'Geist' (Google Fonts) with 'Geist Mono' for numbers. Search input 15px/22px weight 400, placeholder #A3A398. Facet group titles 13px/18px weight 600. Facet options 14px/20px weight 400 with counts in 'Geist Mono' 12px tabular color #A3A398. Chips 13px/18px weight 500. Results counter 'Geist Mono' 14px/20px weight 500 tabular ('1,284 results'). Sort menu 14px/20px. Result card titles 15px/21px weight 500, prices 'Geist Mono' 15px weight 600, meta 12px/17px color #6B6B62. Empty-state headline 20px/26px weight 600.
5. LAYOUT & GRID
Container max 1360px, 24px padding. Top row: search bar (flex-1, 44px tall, magnifier icon left, kbd badge '/' right) + sort select (180px). Below: chips row (min-height 40px, wraps) with results counter right-aligned and 'Clear all' at its end. Main area: facet panel 264px fixed left (sticky, own scroll), results grid right — 4 columns >=1280px, 3 at 1024, 2 at 768, gaps 16px. Below 768px the facet panel becomes a bottom sheet opened by a 'Filters (3)' button showing the active count; chips row scrolls horizontally. Facet groups: Era (decade checkboxes with counts), Designer (searchable checkbox list, top 6 + 'Show 24 more'), Material (checkboxes), Price (two-handle range slider 50 to 12,000 euros with editable min/max inputs), Condition (radio: Any, Mint, Good, Needs restoration). Groups are accordions, first two open by default.
6. SECTIONS & COMPONENTS
Real data everywhere: search placeholder 'Search 12,000 objects — try "Guariche" or "opaline"'. Example facet counts: 1950s (312), 1960s (487), 1970s (398); Pierre Guariche (24), Charlotte Perriand (18), Gino Sarfatti (31), Tapio Wirkkala (12). Result cards: image placeholder ratio 1:1, title like 'G24 lounge chair, Pierre Guariche for Airborne', price '2,400 €', meta '1953 — lacquered steel, wool — Good condition', heart save button. Chips read 'Era: 1950s', 'Material: Opaline', 'Price: 400—1,200 €'. States: every checkbox/radio has hover, focus-visible (2px emerald ring offset 2px), checked, disabled (count 0, muted, not-allowed); slider handles have hover grow, focus ring, active grab; chips have hover (darker tint), focus-visible, and a pressed close state; sort menu full states via Radix Select; search has focus, filled, clearing (x button) states; grid has loading (12 skeleton cards with shimmer), and the empty state: headline 'Nothing matches that combination.', line 'Try widening the price range or removing a designer.', three suggested-removal chips ('Remove: Mint condition') and a 'Clear all filters' button. Counter always announces the current total.
7. MOTION
Chip landing: enters with scale 0.6 to 1 and translateY(-8px) to 0, spring stiffness 420 damping 22 — one visible overshoot bounce; siblings shift right via Framer Motion layout spring stiffness 350 damping 30. Chip removal: scale to 0.8, opacity 0, 160ms ease-in, row closes the gap with the same layout spring. Counter roll: digits roll vertically like a compact odometer, 280ms cubic-bezier(0.16,1,0.3,1), only changed digits move. Grid reflow: cards animate position with layout springs, entering cards fade + scale 0.97 to 1 over 240ms staggered 25ms, exiting fade out 150ms. Accordion groups: height 200ms cubic-bezier(0.4,0,0.2,1), chevron rotates 180deg. Bottom sheet (mobile): slides up 280ms cubic-bezier(0.16,1,0.3,1) with overlay fade. prefers-reduced-motion: chips appear/disappear with 80ms fades, no bounce, counter swaps instantly, grid reflow without position animation, sheet fades.
8. TECH & QUALITY
React 19, Tailwind CSS v4 tokens, Framer Motion (layout animations, AnimatePresence), Radix UI primitives (Accordion, Select, Slider, Checkbox, Dialog for the mobile sheet). Files: components/search/SearchBar.tsx, FacetPanel.tsx, ActiveChips.tsx, ResultsCounter.tsx, ResultsGrid.tsx, EmptyResults.tsx, demo app/demo/search/page.tsx with a mocked 40-item dataset and client-side filtering. Accessibility: filter state changes announced via aria-live=polite ('1,284 results, 3 filters active'); chips are buttons labeled 'Remove filter: Era 1950s'; slider exposes aria-valuetext in euros; the '/' shortcut focuses search and is documented in the input's aria-keyshortcuts; facet panel is a nav-independent region labeled 'Filters'; contrast verified (#1A1A16 on #FCFCFB = 16.5:1, #6B6B62 = 5.4:1, #065F46 on #ECFDF5 = 7.6:1); bottom sheet traps focus and restores it on close; full keyboard path: search, chips, facets, grid.Curio est une marketplace d'objets de design vintage (luminaires, chaises, céramiques). Ce module réunit barre de recherche, panneau de filtres à facettes, chips actifs, tri et compteur de résultats. Idée signature : chaque filtre appliqué « atterrit » physiquement dans la rangée de chips avec un petit rebond et fait re-compter le compteur de résultats en roulement, donnant la sensation de manipuler des étiquettes d'inventaire réelles.
Light neutre dense façon Vercel, blanc cassé, noir doux, vert émeraude en accent, précision d'outil pro.
Force : les chips de filtre qui « atterrissent » avec un rebond et le compteur de résultats en roulement rendent le filtrage à facettes tangible, bien au-delà d'un simple set de checkboxes. Faiblesse : une coquille de couleur (hex mal formé sur le texte primaire) a été corrigée, et le prompt dépasse légèrement 900 mots. Prêt à l'emploi après correction.
Light froid et professionnel, gris ardoise bleutés, surfaces nettes, précision comptable.
Warm neutrals facon carnet papier, encre douce, chaleureux et feutre
Pastel doux et lumineux, degrade d'aube, arrondis genereux, ambiance apaisante