UiForge
Prompt

Liseuse annotée avec marginalia – Foliant

Application mobileEditorialMinimalMicro-interactionsFadeSwiftUICore DataWidgetKit
Prêt à l'emploi

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

❯ Prompt Claude
1. CONTEXT & GOAL
Build Foliant, an e-book reader for people who read pencil in hand — underlining, arguing in the margins, tracking what they finish. The audience is serious readers who want a digital library that feels as personal as a shelf of worn paperbacks. The signature idea: annotations live directly in the page margin as handwriting-style marginalia next to the exact line they reference, never buried in a separate notes modal, and every finished book adds a new illustrated spine to a growing shelf on the home screen. Key screens: Bibliothèque (the shelf), Lecture (the reading view), Table des matières, Statistiques, Fiche livre.

2. ART DIRECTION
Literary editorial calm: warm paper-cream backgrounds, a serif-forward reading experience, restrained color reserved for highlights and a single burgundy accent. This is a book, not a dashboard — chrome recedes almost entirely and the one expressive touch is a handwriting font for personal notes, which makes the app feel used rather than pristine, like a book already loved by someone.

3. COLOR SYSTEM
Background paper #F7F3E8. Reading-view background (slightly warmer) #FBF8EF. Surface (cards, sheets) #FFFFFF. Ink primary #1E1B16, secondary #5C564A, muted #948C7A. Hairline border #E6DDC8. Accent burgundy (CTA, active tab, active tool) #7A2E2E, hover #6B2727, pressed #5A2020. Accent gold (streaks, spine glow) #B08D3E. Highlight markers: yellow #F5D97A at 55% opacity, pink #F2A6B4 at 55%, mint #A9D3B8 at 55%. Success #3F7D4A, warning #C08A2E, error #B33A3A. Tab bar #FBF8EF with top hairline, active icon #7A2E2E, inactive #948C7A.

4. TYPOGRAPHY
Headings and reading body in Source Serif 4 (Google Fonts): headings weight 600, book body weight 400. Screen titles 26px/32px. Book title on shelf/detail 20px/26px weight 600. Reading body default 17px/28px (user-adjustable 15-22px), line-height locked at 1.65 times the chosen size. Marginalia notes in Caveat (Google Fonts, handwriting) 17px/20px, giving annotations a genuinely personal register against the serif body. Chrome labels in Inter 13px/18px medium, captions 12px/16px uppercase tracking 0.05em in muted.

5. LAYOUT & GRID
390x844 base with safe areas respected; reading view is the one screen allowed near-edge-to-edge, with only a slim auto-hiding top bar (title, back) under safe-area-inset-top and a hairline progress bar above safe-area-inset-bottom. Side margins in reading view: 24px, with an additional 20px reserved specifically for marginalia note anchors. Bibliothèque: an illustrated wooden shelf strip 96px tall per row, 3 spines visible before scrolling; a 'En cours' horizontal rail above it with 120x180 covers and progress rings. Sheets (table of contents, note editor) open at 70% height, draggable to 95%. Tablets (iPad, >=768px): true two-column book layout in reading view, margins on both sides host marginalia, shelf shows 5 spines per row.

6. SECTIONS & COMPONENTS
Bibliothèque: header 'Ta bibliothèque', 'En cours' rail showing covers with progress rings, then the shelf itself where finished books appear as colored spines with title and author printed along them. Fiche livre: cover, title 'Les Argonautes', author, synopsis, 'Reprendre à la page 142' or 'Commencer' burgundy button. Lecture: full page text; tap-and-hold a word or sentence opens a floating toolbar with three color dots plus a note icon; picking a color highlights the selection and opens a small Caveat-font input anchored in the margin at that exact line height, keyboard rising beneath it. Table des matières: swipe from the left edge or tap the chapter title to open a sheet listing chapters with page numbers, current chapter marked in burgundy with a small bookmark icon. Statistiques: header 'Cette semaine', a bar chart of minutes read per day, a streak counter with a gold badge 'Série de 12 jours', total pages this month 'Total: 340 pages', 'Meilleure série: 34 jours'. States: highlight toolbar fades in above the selection without ever covering it; focus-visible 2px burgundy outline offset 2px on every button; loading state for newly imported books shows a page-turn skeleton animation; empty shelf state reads 'Ta bibliothèque est vide — importe ton premier livre' with a simple line-drawn shelf illustration; disabled 'Commencer' until the file finishes importing (progress ring replaces label).

7. MOTION
Page turns use a realistic paper-curl transform on drag (perspective transform following the finger 1:1 during drag, snapping on release with a 300ms cubic-bezier(0.4,0,0.2,1) settle) plus a light haptic tick on each completed turn. New marginalia note: the burgundy underline draws left-to-right over 200ms, the Caveat note fades and slides in from the margin edge over 220ms ease-out with a 20px offset, paired with a light haptic on save. Finishing a book: the new spine slides onto the shelf illustration over 500ms cubic-bezier(0.34,1.56,0.64,1) with a small settle bounce, paired with a success haptic and a brief gold glow pulse (300ms) on the streak badge. Table of contents sheet slides up 260ms cubic-bezier(0.16,1,0.3,1). prefers-reduced-motion: page turns become a 150ms crossfade with no curl transform, spine slide-in becomes an instant appear with opacity fade only, glow pulse removed leaving a static badge, haptics remain since they are not visual motion.

8. TECH & QUALITY
SwiftUI with TextKit 2 for the reflowable reading engine, Core Data for library, highlight and reading-session persistence, WidgetKit for a home-screen streak widget. Files: Views/Reading/ReaderView.swift, MarginaliaAnnotationView.swift, Views/Library/ShelfView.swift, StatsView.swift, Models/Book.swift, Highlight.swift. Accessibility: reading view fully supports Dynamic Type and VoiceOver reads marginalia inline with its anchored sentence via accessibilityCustomContent; contrast verified at 4.5:1 minimum (#1E1B16 on #F7F3E8 measures 13.6:1, burgundy #7A2E2E on white measures 7.8:1); highlight colors are always paired with a distinct dot shape in the toolbar so colorblind users can distinguish them without relying on hue; every page-turn gesture has an equivalent tap-zone (left and right thirds of the screen) for users who cannot perform a drag.
Objectif

Foliant est une liseuse e-books pour lecteurs qui annotent et suivent leurs statistiques de lecture. Cible : lecteurs assidus qui veulent retrouver la sensation d'un livre papier annoté au crayon. Idée signature : les annotations vivent dans la marge de la page, écrites façon manuscrite, et chaque livre terminé ajoute une nouvelle tranche illustrée à une étagère qui grandit au fil des mois.

Style

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

Composants
Étagère illustrée qui gagne une tranche par livre finiVue de lecture plein écran avec marges annotablesBarre d'outils de surlignage à 3 couleursTable des matières en feuille glissée depuis le bordÉcran de statistiques (série, minutes, pages)Fiche livre avant lectureWidget d'écran d'accueil pour la série de lecture
Animations
Effet de tournage de page en courbe de papierTracé du surlignage puis apparition manuscrite de la noteGlissement de la nouvelle tranche sur l'étagèrePulsation du badge de série à l'incrémentationFondu d'apparition de la barre d'outils de surlignage
Stack technique
SwiftUITextKit 2Core DataWidgetKit
Scores
8/10
Qualité
8/10
Originalité
Notes de revue

Force : les annotations manuscrites vivant directement dans la marge, au plus près de la ligne annotée, et l'étagère qui gagne une tranche par livre fini incarnent bien la nostalgie du papier annoté. Faiblesse : le prompt dépasse légèrement les 900 mots ; à tailler modestement. Concept et richesse de contenu restent au niveau agence.

À voir aussi

Prompts liés

Application mobile

Éclose — Journal d'humeur organique

Organique nature, aquarelle et papier texturé, verts sauge et terracotta doux, illustrations botaniques.

Q 9/10O 8/10MinimalLuxuryFade
Application mobile

Grain — Suivi d'habitudes minimaliste

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

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