UiForge
Prompt

Running et vélo à segments – PaceRiot

Application mobileBrutalistDark modeSportMicro-interactionsStaggerReact NativeExpoReanimated
Prêt à l'emploi

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

❯ Prompt Claude
1. CONTEXT & GOAL
Build PaceRiot, a GPS run and ride tracker for competitive amateurs who find mainstream fitness apps too corporate. The signature idea is the ghost duel: on any starred segment, the app races you live against a friend's recorded trace, showing the time gap in gigantic tabular digits that flip between acid green (ahead) and alarm red (behind). It turns a Tuesday jog into an arcade boss fight. Key screens: Feed, Segments, Record (center tab), Challenges, Profile. The Record screen is the hero and must be readable on a handlebar in full sun.

2. ART DIRECTION
Neo-brutalist sports poster. References: 1970s race bibs, Nike newspaper ads, punk gig flyers — filtered through a strict system: 2px solid borders, hard 4px offset shadows (no blur), zero rounded corners above 8px radius, acid yellow slabs on near-black. Data is the decoration: numbers are huge, everything else is small and utilitarian. It should look like it was designed with a rubber stamp and a stopwatch.

3. COLOR SYSTEM
Background #0D0D0D. Card surface #161616 with 2px border #2B2B2B; pressed cards translate 2px down-right and drop the offset shadow. Offset shadow color #000000. Primary text #FAFAF7, secondary #9E9E97, muted #63635E. Accent acid #D7FF00 (pressed #B8DB00), used for CTAs, active tab, PR badges. Ghost duel ahead #3DFF7A, behind #FF4D3D, even #FAFAF7. Segment leaderboard gold #FFC700, silver #C9CDD4, bronze #D08B4C. Record button #D7FF00 with #0D0D0D icon; stop state switches to #FF4D3D. Map route stroke #D7FF00 4px, ghost trace #7A7AFF dashed. Success toast #3DFF7A on #0D0D0D, error #FF4D3D.

4. TYPOGRAPHY
Display numerals in Archivo Black: live pace 72px/72px, ghost gap 96px/88px letter-spacing -0.03em, splits 28px. Headings in Space Grotesk 700: screen titles 26px/30px uppercase tracking 0.02em, card titles 17px/22px. Body in Space Grotesk 400 15px/22px. Labels 11px/14px 700 uppercase tracking 0.12em in #9E9E97 ('DIST', 'ALLURE', 'D+'). Leaderboard times in Space Grotesk 500 tabular-nums 15px.

5. LAYOUT & GRID
390x844 base, 16px screen padding, cards full-bleed minus padding with 12px vertical gaps. Tab bar 64px plus safe area, center Record button 72px diameter overflowing 16px above the bar. Record screen is a vertical stack: map 38% height (collapsible to a 96px strip by swiping up), then the stat slab: three columns (distance, pace, elevation) each 33%, then the ghost gap band full-width 128px tall, then controls pinned above the home indicator. Feed and Segments are single-column lists; Profile trophies form a 3-column grid, 8px gutter. Small devices (667pt): live pace drops to 56px, map collapses by default. Landscape on bike mounts: stats left 60%, map right 40%.

6. SECTIONS & COMPONENTS
Record: top bar shows GPS quality dots and 'SEGMENT DANS 400 M' warning slab when approaching a starred segment (acid background, black text, slides down). Stat slab shows '12,4 KM', '4:52 /KM', '+186 M'. Entering a segment flips the screen into duel mode: the ghost band appears with the friend's avatar in a 2px-bordered square, name 'vs. Marco T.', and the live gap '−0:07' updating every second. Hold-to-stop: pressing STOP requires an 800ms hold while a border ring fills. Post-run Recap: header 'MARDI SOIR — 12,4 KM', hero stat row, then splits list (each row: km index, time '4:47', delta bar), segment results ('Côte des Lilas — 2e sur 8 amis, PR −0:12' with a gold slab if top 3), and a 'PARTAGER LA CARTE' CTA. Segments screen: map with starred segments, list rows showing name, distance '1,2 km à 5,4 %', your rank chip '3/11'; tapping opens the segment sheet with friend leaderboard and a 'DÉFIER' button that sends a duel invite. Challenges: weekly cards 'GRIMPEUR — 600 M DE D+ CETTE SEMAINE' with a chunky progress bar filling in hard steps (no gradient) '412/600', days-left stamp. Feed rows: friend efforts with map thumbnail, kudos button (a fist icon) with pressed state. Empty states: 'AUCUN SEGMENT ICI. CRÉE LE PREMIER.' Disabled buttons: border #2B2B2B, text #63635E. Loading: diagonal-stripe animation on slabs.

7. MOTION
Start countdown: full-screen acid overlay, digits 3-2-1 stamp in at scale 1.4 to 1.0 over 200ms cubic-bezier(0.16,1,0.3,1) with impactHeavy haptic each. Ghost gap color flip: background slab snaps color in 80ms linear, digits do a 4px horizontal shake (3 cycles, 240ms) when the lead changes, plus notificationSuccess or notificationError haptic. Segment approach slab slides down 280ms cubic-bezier(0.22,1,0.36,1). Hold-to-stop ring: 800ms linear border sweep; releasing early rewinds at 2x speed. Recap splits stagger in 60ms apart, translateY 12px to 0, 240ms ease-out. Challenge bars fill stepwise: 10 discrete jumps of 30ms each 40ms apart. Kudos fist punches scale 1 to 1.3 to 1, spring stiffness 500 damping 15, impactLight. Pull-to-refresh on Feed shows a stamped 'PLUS FORT' label rotating 8deg. prefers-reduced-motion: no shake, no countdown scale (fade only), bars fill instantly, keep color flips.

8. TECH & QUALITY
React Native 0.76, Expo SDK 52, expo-location with background updates and battery-aware sampling, MapLibre GL for maps, Reanimated 3 worklets so live stats never drop frames while GPS updates, Expo Haptics, Zustand store. Files: app/(tabs)/record.tsx, components/duel/GhostBand.tsx, SegmentSheet.tsx, recap/SplitsList.tsx, lib/segments/matcher.ts. Accessibility: live gap exposed via accessibilityLiveRegion polite, announced every 15s not every tick; all slabs meet contrast (acid #D7FF00 on #0D0D0D = 14.9:1, #FF4D3D on #0D0D0D = 5.2:1); hold-to-stop has a voice-control alternative button; hit targets 48px minimum; supports font scaling by letting stat slabs wrap to two rows.
Objectif

PaceRiot est une app GPS de running et cyclisme centrée sur les segments et les défis entre amis. Cible : sportifs amateurs compétitifs de 20-40 ans lassés du sérieux corporate des apps fitness. Idée signature : le « ghost duel » — sur chaque segment, on court contre la trace fantôme d'un ami avec un écart affiché en direct en énormes chiffres, comme un jeu d'arcade.

Style

Néo-brutalisme sportif : jaune acide sur noir, bordures dures 2px, chiffres énormes, zéro ombre douce.

Composants
Écran d'enregistrement plein écran avec stats géantesBandeau ghost duel avec écart temps réelCarte de segment avec leaderboard entre amisCartes de défis hebdomadairesRécap post-effort avec splits kilométriquesTab bar 5 items avec bouton record centralProfil avec trophées de segments
Animations
Compte à rebours 3-2-1 plein écran au départBascule de l'écart ghost en vert/rouge avec secousseStagger des splits au récapRemplissage brutal des barres de défiPression du bouton record avec anneau de progression
Stack technique
React Native 0.76Expo SDK 52Reanimated 3MapLibre GLExpo Location
Scores
9/10
Qualité
8/10
Originalité
Notes de revue

Force : le duel fantôme avec écart affiché en énormes chiffres transforme un segment chronométré classique en confrontation d'arcade, bien porté par le néo-brutalisme sportif. Faiblesse : le concept de segments existe déjà (Strava), mais le traitement compétitif direct et graphique reste peu commun. Prêt à l'usage.

À voir aussi

Prompts liés

Application mobile

Budget de colocation – Kolok

Material 3 expressif : lavande et menthe dynamiques, formes pilule généreuses, FAB morphant, tonal surfaces.

Q 8/10O 8/10Material 3PlayfulMinimal
Application mobile

Flux — Néobanque entre amis

Dark OLED premium, noir encre profond, accent citron-vert électrique, chiffres géants façon compteur de bourse.

Q 9/10O 8/10Dark modeMinimalFuturistic
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