UiForge
Prompt

Budget de colocation – Kolok

Application mobileMaterial 3PlayfulMinimalMicro-interactionsStaggerReact NativeExpoReanimated
Prêt à l'emploi

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

❯ Prompt Claude
1. CONTEXT & GOAL
Build Kolok, a shared-budget app for flatshares of 2 to 6 people: log shared expenses, track who owes whom, settle up in one gesture. The audience is students and young professionals who currently fight about money in a WhatsApp thread. The signature idea is the seesaw: the household balance is a physical beam at the top of the home screen, avatars sitting on each side, that visibly tilts toward whoever has fronted the most money and gently levels out with every reimbursement. Money becomes something you can see balancing. Key screens: Accueil (seesaw plus recent activity), Ajouter une dépense (FAB morph), Équilibre (who-owes-whom settlement), Historique, Coloc (household settings).

2. ART DIRECTION
Material 3 expressive, done properly: tonal lavender surfaces, pill shapes, a FAB that morphs into the expense sheet, large friendly type. References: Google Wallet's calm and M3 design-kit demos, but domesticated — this is roommate money, not banking, so the palette is lavender and mint, never navy. Depth comes from tonal elevation (tinted surfaces), not shadows. Every container is a rounded pebble; nothing has a hard corner.

3. COLOR SYSTEM
Background #FDF7FF (surface). Surface container #F4EDF7, container-high #EEE5F0, container-highest #E7DEE9. Primary lavender #6750A4, on-primary #FFFFFF, primary-container #EADDFF with on-primary-container #21005D. Secondary mint #4CAF8D, secondary-container #D2F4E4, on-secondary-container #0E3B2C. Positive balance #2E7D5B, negative #B3261E with error-container #F9DEDC. Text: on-surface #1D1B20, variant #49454F, outline #79747E. Seesaw beam #6750A4, pivot #4A4458, avatar rings use per-member hues: #6750A4, #4CAF8D, #E08E45, #5B8DEF, #C05B9E, #8A8F3C. FAB #6750A4 with icon #FFFFFF, pressed tonal overlay 12%. Chips: selected #EADDFF text #21005D, unselected outline #79747E.

4. TYPOGRAPHY
All type in Figtree (Google Fonts). Display: household total 44px/48px weight 700 tabular-nums. Screen titles 26px/32px 600. Card titles 17px/24px 600. Body 15px/22px 400, list rows 16px/24px 500. Amounts in rows 16px/24px 700 tabular-nums, colored by sign. Labels 12px/16px 500 tracking 0.03em in #49454F. Seesaw avatar amounts 13px/16px 700 in white pills.

5. LAYOUT & GRID
390x844 base, 16px padding, M3 nav bar 80px plus safe area with active pill indicator. Accueil stack: seesaw stage 200px tall full-width, then 'Ce mois-ci' summary card, then activity list. The seesaw: beam 280px wide centered, avatars (40px) stacked on each end, tilt angle clamped to ±9deg proportional to imbalance, amounts in floating pills above each side. FAB 56px bottom-right, 16px above nav bar. Expense sheet opens full-height minus safe top. Équilibre screen: vertical list of settlement cards. Larger phones get the same layout scaled; foldables/tablets show Accueil and Historique side by side at >=840px (list-detail).

6. SECTIONS & COMPONENTS
Accueil: header 'Coloc rue des Lices' with member avatar row, then the seesaw with real state, e.g. left side Emma pill '+86,50 €' (she fronted groceries), right side Hugo '−41,20 €' and Léa '−45,30 €', beam tilted toward Emma, caption 'Emma a avancé 86,50 € ce mois-ci'. Summary card: 'Dépenses du mois — 412,80 €' with a thin per-category bar (Courses 58%, Loyer charges 27%, Sorties 15%). Activity list rows: category icon in tonal circle, 'Courses Carrefour', 'payé par Emma · pour tous', amount '−32,40 €', date grouped headers 'Aujourd'hui', 'Hier'. FAB '+' morphs into the expense sheet: amount keypad first (large 40px digits), then description field 'Pizza soirée film', payer selector (avatar chips), split mode segmented control 'Égal / Parts / Exact' — Parts mode shows steppers per member with live recalcul ('Hugo x2 parts — 12,30 €'). Save button pill 'Ajouter la dépense', disabled until amount is greater than 0. Équilibre: cards like 'Hugo doit 41,20 € à Emma' with a 'Rembourser' tonal button; tapping opens a confirmation sheet with payment method chips (Lydia, virement, espèces) and a swipe-to-confirm slider; completing fires the seesaw rebalance and a small confetti burst of lavender/mint dots. Rent reminder card: 'Loyer dans 3 jours — 1 240 € à répartir', snooze and split actions. Empty state: level beam with 'Tout le monde est quitte' and a sparkle icon. Errors: offline banner in error-container; failed sync rows show a retry icon. All touchables show M3 state layers: hover/focus 8%, pressed 12% overlay; focus-visible 2px #6750A4 outline.

7. MOTION
Seesaw physics: tilt animates with spring stiffness 120 damping 14 (heavy, weighty feel), avatars counter-rotate to stay upright; on new expense the beam overshoots 1.5deg then settles; impactMedium at settle. FAB morph: container transform from 56px circle to full sheet using M3 container-transform pattern, 350ms cubic-bezier(0.2,0,0,1), content fades in after 150ms. Keypad digits: pressed tonal ripple 200ms, amount text pops scale 1.04 per digit with selection haptic. Split recalcul: amounts roll vertically 140ms. Settlement swipe-to-confirm: thumb follows finger, releasing past 85% completes with notificationSuccess haptic; confetti burst 700ms, 24 particles, gravity ease-in, then the settled card collapses height 240ms cubic-bezier(0.2,0,0,1). Activity rows stagger in 30ms apart, translateY 8px, 200ms. Pull-to-refresh: M3 circular indicator in primary. prefers-reduced-motion: seesaw jumps to final angle with a 150ms fade, no confetti (checkmark pulse instead), no overshoot, container-transform becomes crossfade 150ms.

8. TECH & QUALITY
React Native 0.76, Expo SDK 52, Reanimated 3 for the seesaw spring and container-transform morph, Expo Haptics, date-fns for month grouping, Zustand plus MMKV persistence for offline-first entries. Files: app/(tabs)/index.tsx, components/seesaw/SeesawStage.tsx, expense/ExpenseSheet.tsx, SplitEditor.tsx, equilibre/SettlementCard.tsx, lib/split/compute.ts (equal, shares, exact — sum must always equal total, cents distributed round-robin). Accessibility: the seesaw exposes a text summary ('Emma a avancé 86,50 euros, Hugo doit 41,20 euros') via accessibilityLabel; swipe-to-confirm has a double-tap alternative; contrast: #1D1B20 on #FDF7FF = 15.2:1, #49454F on surface 7.4:1, amounts colored but always paired with a sign so color is not the only signal; touch targets 48dp; supports dynamic type to 200% with amount pills wrapping below avatars.
Objectif

Kolok gère l'argent d'une colocation : dépenses partagées, soldes entre colocs, remboursements en un geste. Cible : étudiants et jeunes actifs en coloc de 2 à 6 personnes. Idée signature : la « balançoire » — le solde du foyer est visualisé comme un fléau de balance animé qui penche physiquement vers celui qui a le plus avancé, et se rééquilibre en douceur à chaque remboursement.

Style

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

Composants
Balance animée des soldes en tête d'écranFAB morphant en formulaire de dépenseRépartition par parts ajustablesHistorique groupé par moisÉcran de règlement « qui doit quoi »Avatars de colocs avec montantsRappel de loyer récurrent
Animations
Bascule physique du fléau de balanceMorph du FAB en feuille de saisieStagger des lignes d'historiqueConfetti sobre au règlement completRépartition en camembert qui se redessine
Stack technique
React Native 0.76Expo SDK 52Reanimated 3Expo Hapticsdate-fns
Scores
8/10
Qualité
8/10
Originalité
Notes de revue

Force : la balance physique qui penche visuellement vers celui qui a le plus avancé rend le solde du foyer immédiatement lisible sans jargon comptable. Faiblesse : le prompt dépasse légèrement les 900 mots ; à resserrer un peu, notamment la section TECH & QUALITY. Concept et exécution restent excellents.

À voir aussi

Prompts liés

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

Le caméléon des matières – Pitchoun

Ludique enfantin, couleurs primaires saturées, formes rondes géantes, mascotte expressive, tableau de bord parent apaisé.

Q 8/10O 7/10PlayfulColorfulRounded
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