UiForge
Prompt

Grain — Suivi d'habitudes minimaliste

Application mobileMinimalLinearFadeMicro-interactionsSwiftUISwift ChartsWidgetKit
Prêt à l'emploi

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

❯ Prompt Claude
CONTEXT & GOAL
Design the mobile UI for Grain, a habit tracker stripped to its essence: a single grid of dots filled in day by day, with no streak fireworks, no badges, no gamified noise. Audience: people burned out on overloaded habit apps who want a calm, honest tool that respects their attention. Signature idea: a seed-calendar dot grid that organically darkens as consistency builds — no numbers, no percentages visible by default, just ink accumulating like a plant growing from soil.

ART DIRECTION
Radical monochrome minimalism: ink on paper. References: a Muji notebook, Linear's restraint, and traditional Japanese seed calendars. One typeface, one ink color at varying opacities, generous negative space. The absence of color is the point — Grain should feel like the calmest app on the user's phone.

COLOR SYSTEM
- Background (light): #FAFAF7 (raw paper)
- Background (dark): #131311 (ink well)
- Ink primary (light mode): #1A1A16 at 100% (today, filled), 60% (recent, filled), 15% (empty dot)
- Ink primary (dark mode): #F2F1EA at equivalent opacities, inverted
- Border/grid lines: #1A1A16 at 8% (light), #F2F1EA at 8% (dark)
- Accent (used only for the single active reminder banner): #3D5A3D (moss, extremely restrained use)
- Danger (missed streak, used sparingly in detail view only): #8C3B2E

TYPOGRAPHY
- H1: "Newsreader" 500 italic, 26px/32px, tracking -0.01em
- H2: "Newsreader" 500, 18px/24px
- Body: "IBM Plex Sans" 400, 15px/22px
- Body medium: "IBM Plex Sans" 500, 15px/22px
- Caption: "IBM Plex Mono" 400, 12px/16px, tracking 0.01em (dates, counts)

LAYOUT & GRID
- Safe-area padding 24px, everything sits on a strict 4px baseline grid
- Single column list of habit cards, 16px gaps
- Dot grid per habit card: 7-column week view, each dot 14px diameter with 10px gap; detail view expands to a 52-week annual grid, 8px dots, 4px gap (GitHub-contribution-graph density but monochrome)
- No bottom tab bar — a single top segmented control ("Aujourd'hui" / "Habitudes" / "Historique") to keep the interface as flat as possible
- Tablet: annual grid view scales to show 2 years side by side, max container width 720px centered

SECTIONS & COMPONENTS
Today: vertical list of habit cards, each showing habit name ("Lire 20 minutes"), a single large tap-circle (56px) that fills from outline to solid ink on completion, and a mini 7-dot week strip beside it showing recent consistency. No streak counter shown by default (revealed only on long-press as a subtle tooltip: "6 jours consécutifs"). Empty state (no habits yet): centered line drawing of a single seed, "Ajoute ta première habitude — une seule ligne à la fois."
Habit detail: full annual dot grid at top (52 columns x 7 rows), month labels in caption mono type along the top edge, current-day dot outlined with a 1.5px ring. Below: frequency selector (segmented: "Tous les jours" / "3x/semaine" / "Personnalisé"), reorder handle for drag-to-reorder in the parent list.
Reminders: single discrete banner sliding from the top edge at the configured time, moss-green accent text on paper background, dismiss by swipe, no red badges or push-notification clutter beyond this one banner.
Settings: minimal list — dark mode toggle, widget setup link (WidgetKit home-screen dot grid), export data as CSV.

MOTION
- Dot fill on tap: opacity 15% to 100% over 220ms ease-out, no scale/bounce — deliberately restrained
- Annual grid load: fade-in wave left to right, 500ms total, dots appear in 40ms column-stagger groups
- Drag-to-reorder: card lifts with a 4px shadow and scale 1.02, spring stiffness 300/damping 26, other cards shift with 200ms ease-out
- Reminder banner: slides down from -60px to 0 over 300ms cubic-bezier(0.22,1,0.36,1), auto-dismisses after 6s with a 200ms fade unless interacted with
- Light/dark mode transition: full-screen crossfade, 400ms ease-in-out, no directional slide
- Long-press streak tooltip: fade + scale from 0.9 to 1, 150ms ease-out, dismisses on release
- Reduced motion: all fills and fades reduce to instant 100ms opacity changes, drag reorder retains position feedback but removes scale/shadow lift

TECH & QUALITY
Build natively in SwiftUI (iOS 17+), using Swift Charts only for optional export visualizations, and WidgetKit for the home-screen dot-grid widget. Structure: Views/Today.swift, Views/HabitDetail.swift, Components/DotGrid.swift, Components/WeekStrip.swift. Contrast: ink at 100% opacity (#1A1A16) on paper (#FAFAF7) = 15.1:1; the 15%-opacity empty dot is decorative only and paired with a text label for anyone relying on contrast, never the sole indicator of state. All completion circles have a 56x56pt tap target with a VoiceOver label announcing state explicitly ("Lire 20 minutes, non complété aujourd'hui, activer"). Reminder banner is dismissible via swipe or a visible close affordance, never auto-dismissing without user control beyond the stated 6s grace period. Empty state required for zero-habit accounts; loading skeleton (flat grey dots, no shimmer) required while syncing.
Objectif

Grain réduit le suivi d'habitudes à l'essentiel : une seule grille de points que l'on remplit jour après jour, sans distraction ni gamification bruyante. Cible : personnes lassées des trackers d'habitudes trop chargés qui veulent un outil calme et honnête. Idée signature : une grille de points façon calendrier de semences qui s'assombrit organiquement à mesure que la régularité s'installe, sans chiffres ni pourcentages visibles par défaut.

Style

Monochrome minimal, encre sur papier, grille de points, aucune couleur superflue.

Composants
Grille de points façon calendrier de semencesCarte d'habitude avec cercle de complétion du jourListe d'habitudes triable par glisser-déposerÉcran de détail avec historique en grille annuelleBouton de complétion en tap uniqueSélecteur de fréquence hebdomadaireRappel discret en bandeau du matinMode sombre encre inversée
Animations
Assombrissement progressif du point du jour au tapFondu d'apparition de la grille annuelle au chargementGlissé-déposé élastique pour réordonner les habitudesPulsation unique et discrète à la complétionBandeau de rappel qui glisse depuis le hautTransition fondue entre mode clair et sombre
Stack technique
SwiftUISwift ChartsWidgetKit
Scores
8/10
Qualité
7/10
Originalité
Notes de revue

Force : la grille de points façon calendrier de semences, qui s'assombrit sans chiffres ni streaks, est une prise de position forte et rare dans le tracking d'habitudes. Faiblesse : le domaine est générique en soi, mais la radicalité monochrome et l'absence de gamification le différencient bien. Prêt à l'usage.

À voir aussi

Prompts liés

Application mobile

Liseuse annotée avec marginalia – Foliant

Éditorial littéraire, papier crème chaud, typographie serif soignée, accent bordeaux, marginalia manuscrite.

Q 8/10O 8/10EditorialMinimalMicro-interactions
Application mobile

Stratus — Météo hyperlocale instrument

Cockpit aéronautique, bleu nuit profond, aiguilles et graduations phosphorescentes vert et ambre, typographie mono d'instrument.

Q 9/10O 9/10Dark modeFuturisticMinimal
Application mobile

Diagnostic photo des plantes – Ficus

Pastel doux et apaisant, sauge et blush, formes arrondies généreuses, illustrations tout en douceur.

Q 8/10O 7/10PastelOrganicMinimal