UiForge
Prompt

Croque — Scanner nutritionnel suisse

Application mobileMinimalBrutalistSlideMicro-interactionsKotlinJetpack ComposeCameraX
Prêt à l'emploi

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

❯ Prompt Claude
CONTEXT & GOAL
Design the mobile UI for Croque, a grocery nutrition scanner that reads a barcode and delivers its verdict as a Swiss-designed technical data sheet, readable in two seconds while pushing a shopping cart. Audience: busy shoppers who want a trustworthy in-aisle decision, not a lecture. Signature idea: the Typographic Verdict — every scanned product renders as a giant standardized label, a nutrition-facts panel reimagined by a Swiss studio, topped with a one-word verdict in massive type: "SAIN", "CORRECT", "ÉVITER".

ART DIRECTION
International Typographic Style applied without nostalgia: white ground, black ink, one strict grid, semantic red and green used only where meaning demands it. References: Josef Müller-Brockmann grid posters, Swiss pharmaceutical packaging, the original FDA nutrition label's brutal clarity. No illustrations, no mascots, no rounded-friendly-food-app tropes: the credibility IS the design. Photography appears only as the small product thumbnail from the barcode database.

COLOR SYSTEM
- Background: #FFFFFF
- Surface alt (table row zebra): #F4F4F2
- Rule lines: #111111 (1px and 3px weights, structural)
- Text primary: #111111
- Text secondary: #5C5C58
- Verdict SAIN: #1E7A3C (on white; large type only) with tint block #E3F2E7
- Verdict CORRECT: #8A6D1A with tint block #F5EDD4
- Verdict ÉVITER: #C22B1E with tint block #F9E4E1
- Interactive accent (buttons, links): #111111 solid; pressed state #333330
- Focus ring: #1D4ED8 2px (reserved exclusively for focus-visible)

TYPOGRAPHY
- Verdict display: "Archivo" 800 (Expanded if available), 56px/56px, tracking -0.01em, uppercase
- H1 (product name): "Archivo" 700, 26px/30px
- H2 (section heads): "Archivo" 700, 15px/20px, uppercase, tracking 0.04em
- Body/table: "Inter" 400, 14px/20px, tabular-nums for all figures
- Table emphasis: "Inter" 600, 14px/20px
- Caption (per-100g notes): "Inter" 400, 11px/15px

LAYOUT & GRID
- Strict 12-column grid, 16px margins, 8px gutters; every rule line and figure aligns to it
- Scanner: full-screen camera with a 260x160px reticle centered, controls in the bottom safe area
- Verdict sheet: slides up over the camera, full height, structured like a printed label — 3px rule under the verdict, 1px rules between table rows
- Nutrition table: 2 columns (nutrient / per 100g) with zebra rows, right-aligned figures
- Bottom bar: 3 flat tabs (Scanner, Historique, Comparer), 56px, black top rule, no icons-only — always icon + label
- Tablet: verdict label constrained to 560px centered column; comparator uses true side-by-side 2-column layout

SECTIONS & COMPONENTS
Scanner (home): camera viewfinder, reticle with animated scan line, torch toggle, hint text "Vise le code-barres". Error state (product unknown): flat panel "Produit introuvable — 2 034 512 références en base" with a manual search field. Offline state: "Hors ligne — le scan reprendra automatiquement."
Verdict label: verdict word full-width ("CORRECT"), tint block behind; product identity row (thumbnail, name "Müesli croustillant chocolat — 500g", brand); score strip: Nutri-score letter, NOVA gauge (4 notched steps, filled to level 3 "Transformé"), additive count ("2 additifs — risque faible"). Then the nutrition table: Énergie 1 872 kJ / Sucres 18 g (flagged in ÉVITER red tint) / Fibres 7,2 g (flagged in SAIN green tint) / Sel 0,31 g. Below: additive rows expandable ("E322 — Lécithine de tournesol, sans risque identifié"). Footer: "Voir une alternative mieux notée" black button.
Alternative: side-slide to a comparable product ("Müesli nature — SAIN — 6,1 g de sucres"), with a "Comparer les deux" action.
Comparator: two labels side by side, differing rows highlighted with tint blocks, verdict words facing off at top.
History: dense list rows (thumbnail, name, verdict chip, date), searchable, swipe-to-delete with an undo snackbar.

MOTION
Motion is editorial and mechanical — nothing decorative:
- Verdict print-in: the label reveals top to bottom behind a moving 3px rule, 500ms cubic-bezier(0.7,0,0.3,1), like a receipt printing; verdict word stamps in at 180ms with a hard scale 1.15 to 1 stop and a heavy haptic
- Scan line: reticle line sweeps vertically, 1400ms ease-in-out loop while searching; on detection, reticle corners snap inward 4px in 120ms with a light haptic
- NOVA gauge: fills notch by notch, 90ms per notch, stepped (no interpolation between notches)
- Alternative slide: horizontal push transition, 300ms cubic-bezier(0.2,0,0,1)
- Comparator rows: differing rows flash their tint block once, 400ms ease-out, 60ms stagger downward
- Undo snackbar: rises 250ms emphasized-decelerate, auto-dismiss 5s
- Reduced motion: print-in becomes an instant render with a 150ms fade, scan line replaced by a static pulsing-opacity reticle (large amplitude removed), stepped gauge keeps final state

TECH & QUALITY
Build with Kotlin + Jetpack Compose, CameraX with ML Kit barcode scanning, Room for scan history, OpenFoodFacts API as the data backend. Structure: ui/scanner/, ui/verdict/, ui/compare/, ui/components/VerdictLabel.kt, ui/components/NovaGauge.kt, ui/components/NutrientTable.kt. Accessibility is central to the product's honesty: verdict never relies on color alone (the word IS the verdict, tint blocks are supplementary); contrast #111111 on #FFFFFF = 18.9:1, verdict green #1E7A3C on white = 5.1:1 at display sizes; TalkBack reads the full label in logical order ("Verdict : correct. Müesli croustillant chocolat. Nutri-score C…"); touch targets 48x48dp; table supports 200% font scale by reflowing to stacked rows. Loading (label skeleton in flat grey), offline, and unknown-product states as specified.
Objectif

Croque scanne le code-barres d'un produit alimentaire et rend son verdict nutritionnel dans une mise en page de fiche technique suisse, lisible en deux secondes au-dessus du caddie. Cible : consommateurs pressés qui veulent trancher en rayon sans décoder les étiquettes marketing. Idée signature : le verdict typographique — chaque produit scanné devient une étiquette normalisée géante façon nutrition facts repensée par un studio suisse, avec un verdict en un mot.

Style

Swiss design utilitaire, noir sur blanc, grilles strictes, rouge et vert sémantiques uniquement, typographie Helvetica-like massive.

Composants
Viseur de scan plein écran avec cadre de viséeÉtiquette-verdict typographique géanteTableau nutritionnel en grille suisse stricteJauge de transformation NOVA en 4 cransListe d'additifs avec niveau de risqueComparateur de deux produits côte à côteHistorique de scans en liste denseSuggestion d'alternative mieux notée
Animations
Impression de l'étiquette-verdict de haut en basBalayage lumineux du cadre de visée pendant le scanBascule volet du comparateur côte à côteRemplissage cranté de la jauge NOVAGlissement latéral vers l'alternative suggéréeTampon du verdict avec impact haptique
Stack technique
KotlinJetpack ComposeCameraXML Kit Barcode
Scores
9/10
Qualité
9/10
Originalité
Notes de revue

Force : le verdict typographique façon studio suisse, avec un mot unique et une étiquette repensée, est une signature visuelle forte et parfaitement alignée avec la promesse de clarté en rayon. Faiblesse : aucune identifiée de façon significative. Prêt à l'usage.

À voir aussi

Prompts liés

Application mobile

Navette — Covoiturage domicile-travail

Material 3 expressif, couleurs dynamiques génératives, grandes formes arrondies, composants tactiles généreux.

Q 8/10O 7/10MinimalFuturisticSlide
Application mobile

Itinéra — Planificateur de voyages

Glassmorphism iOS, carte plein écran en fond, cartes translucides givrées, palette bleu ciel et blanc nacré.

Q 9/10O 8/10GlassmorphismAppleMinimal
Application mobile

Lecteur de podcasts à chapitres – Chapterline

Dark OLED noir pur, accent ambre chaud, waveform omniprésente, esthétique studio d'enregistrement nocturne.

Q 8/10O 7/10Dark modeMinimalOLED