Web UI design, v2
The design lives in Doop, on page «UI v2» of the same canvas as v1:
ExtractIt — UI v2 (12 frames, open the «UI v2» page; v1 stays on
«UI v1 (historial)»). Status: draft, not yet approved in Doop (approvalStatus: draft on every frame).
Why a v2: the user's feedback on v1 was «I hate the design. Make it modern: Use blue and white. Make it look like a modern AI-powered design». v2 keeps v1's screen inventory, sample data and competitor research (ui-v1.md) and replaces the visual direction entirely.
Direction
Chosen with the /impeccable process (product context → direction round → build → review in the rendered frame):
- Product truth was written to
web/PRODUCT.mdand confirmed by the coordinator (working name, open core with Enterprise features, Spanish first with i18n). - The direction seed assigned a metaphor-led direction («Señalética», public wayfinding signage with a metro line
as the signature). The coordinator chose instead the category standard, raised: the current language of AI
products, executed to a high bar, because the user rejected v1 precisely for having too much character
(serif, metaphor). The contract is in
web/.impeccable/surfaces/src-app-tsx.md. - What was kept from the signage direction, without its metaphor or typeface (the "raises"):
- a discreet stage stepper per document (Ingesta → Parseo → Extracción → Validación → Revisión) on Inicio, each row of Documentos and the Visor header;
- in the Visor, a guide line from the selected field to its words on the page;
- a confidence threshold control that regroups fields live («Necesitan tu revisión» / «Por encima»);
- «Aprobar y siguiente» with the next document already loaded (said in the UI);
- a corrected value stays marked («Corregido por ti», with the old value struck through) until approved.
Thesis: a current AI-product workspace whose AI is legible. Every value the model produced says so (sparkle), says how sure it is (a number with a band) and points at its words (evidence box). White surfaces, one vivid action blue, pale blues for selection and AI-made content; green, amber and red only for confidence and state. One contained blue glow, only on Inicio's greeting band and on Login. No gradients elsewhere, no serif.
Screens
| # | Frame | What it shows | Ticket |
|---|---|---|---|
| 0 | Tokens y componentes v2 | Colour roles, type, buttons and states, badges, confidence bars, stepper, evidence marks, assistant bar | T18 |
| 1 | Inicio | Greeting with what needs you; assistant prompt with suggested actions; 4 stats with 14-day history and n; recent activity with stepper and live "Extrayendo 9 de 23"; review queues with SLA; usage with projection |
T18, T33, T40, T51 |
| 2 | Visor de evidencias | Page with word-level evidence boxes; field panel with live threshold; selected field with verified quote, failing blocking rule, the AI's reading, Accept / Correct / Not present with keys; guide line field → words; corrected field marked; next document preloaded; per-document assistant | T18, T32 |
| 3 | Documentos | Drop zone with "IA elige el workflow"; status tabs with counts; filter chips; runs table (stepper, state, fields, min confidence, validation, reviewer); bulk bar (retry from failed step, re-run with another version, assign, export) | T17, T18, T36 |
| 4 | Studio — lienzo | Draft of v15 based on v14, changes, test with 20 docs, publish; operator palette (AI operators in blue); graph with yes/no branch labels; config panel for the AI node (model tier, schema, citations, master lookup, last test vs v14); assistant bar that proposes a reviewable diff | T34, T36 |
| 5 | Login | Company SSO first, magic link by email, language switch, self-hosted note; blue panel showing the product promise (field ↔ evidence) | T13, T18 |
| 6 | Bandeja de revisión | Views, reasons and workflows as queues; team metrics with n; active policy in plain words; tasks with reason, fields to review, assignee, SLA countdown |
T33 |
| 7 | Studio — editor de esquema | Field tree (type, required, rules, description for the model) with nested object, table and computed field; inline detail with the agent's proposed description, rules and normalisation; Visual / JSON Schema; live preview and per-field dataset accuracy | T35 |
| 8 | Ajustes — Miembros y roles | Settings sub-nav with discreet «Enterprise» labels (Facturación, SSO y SCIM); members with role select and project scope; pending invite; the six roles | T13, T49 |
| 9 | Ajustes — Claves API | Keys with project, scopes, expiry, last use; "shown once" dialog with copy and a curl example | T12 |
| 10 | Ajustes — Uso y plan | Pages against quota with projection and alert/block thresholds; daily chart with forecast; plan card (no prices); budgets per project; breakdown by workflow | T51 |
| 11 | Studio — lista | Alias → version, docs in 30 days, accuracy with trend, STP, cost per page, last run, owner; "Crear con IA desde documentos" and templates | T34 |
Priority order requested by the brief (Inicio, Visor, Documentos, Studio, Login) is complete; the rest too. Not designed: Health/datasets/optimizer (T37, T38, T41), Monitorización (T40) beyond Inicio, Knowledge (T48), webhooks and connectors settings, dark-mode frames, empty and error states beyond those shown in tables.
Tokens
Created on the canvas with a v2 infix so the v1 frames keep their own values (--color-v2-*, --radius-v2-*,
--font-v2-*; export with Doop get_tokens). For T18, drop the v2- infix and they map one to one to the
shadcn/ui variables. Dark values exist on the canvas for every surface token; no dark frames were drawn.
| shadcn variable | Light | Dark | Use |
|---|---|---|---|
--background / --card |
#FFFFFF |
#070F22 / #0F1B36 |
App ground, cards, panels |
--muted (surface) |
#F5F8FD |
#0D1830 |
Table headers, wells, viewer chrome |
--foreground |
#0B1B3A |
#EAF0FB |
Text (navy ink, 17:1 on white) |
--muted-foreground |
#52607A |
#9DAAC4 |
Secondary text (6.3:1) |
| faint foreground | #647089 |
#7F8CA8 |
Metadata, placeholders (4.5:1) |
--border / --input |
#E3E9F3 / #CBD5E5 |
#1E2C4D / #2B3B60 |
Hairlines / control borders |
--primary / -foreground |
#1E56E8 / #FFFFFF |
#4D7DFF / #FFFFFF |
Action blue, links (5.9:1 with white) |
--ring |
#1E56E8 |
Focus ring, stepper done/current | |
--accent / -foreground |
#EAF1FF / #1745C2 |
#14295A / #B7CBFF |
Selected row/field, AI-made content, active nav |
--sidebar / -foreground / -accent |
#F7F9FD / #0B1B3A / #EAF1FF |
#0A142B / … |
Rail |
| evidence | rgba(30,86,232,.14) |
Fill of the selected evidence box | |
--success / soft |
#0F7A4A / #E5F5EC |
#3FCB8B / #0E2A22 |
High confidence, approved, rule passed |
--warning / soft |
#9A5600 / #FDF2DF |
#F2B04F / #2E2210 |
Medium confidence, needs review |
--destructive / soft |
#C7342B / #FDE8E6 |
#FF7B70 / #33140F |
Low confidence, failed, blocking rule |
| brand mark gradient | #3B7BFF → #1E56E8 → #1238B0 |
Logo tile only (and Login panel) |
| Type and shape | Value |
|---|---|
--font-sans |
Inter (opsz) 400/500/600/700, cv11/ss01 on: 14 px body, 13 px tables, 12 px labels, 15–16 px sections, 24–26 px page titles (−0.022em) |
--font-mono |
JetBrains Mono: extracted values, amounts, IDs, scopes, shortcuts |
| Radius | 6 chips · 10 buttons and inputs · 14 cards · full for badges |
| Shadows | Only raised things: primary button (blue-tinted), dialogs, bulk bar, viewer page, selected node |
| Icons | Lucide, 16 px, stroke 2 |
Both fonts are SIL OFL; self-host them in T18.
Notes for implementation
- Components are shadcn/ui on Base UI: Button, Badge, Card, Table (TanStack), Tabs, Select, Switch, Slider
(confidence threshold), Toggle Group (model tier, Visual/JSON), Dialog (API key), Command (
⌘K), Sheet or resizable panel (assistant), Tooltip, Avatar. - Brand: «ExtractIt» (tagline «Extract your data. Every value cited.»). The mark (gradient tile +
scan-texticon) and the name must live in one replaceableBrandcomponent and one token. - AI marker: Lucide
sparklesin--primarybefore any value or element the model produced; the assistant entry points always say they return a reviewable change. - Evidence marks: selected = evidence fill + 2 px
--primaryoutline + label with field and confidence; other citations = 1 px dashed blue outline; contradiction = 1.5 px--destructiveoutline. The viewer page stays white in dark mode. - Stepper: five 16 × 4 px segments; done = primary, current = half primary, failed = destructive, waiting for review = warning.
- The frames draw icons with an inline Lucide sprite and a small script (Doop's renderer cannot load remote
icons). Do not copy that into
web/; uselucide-react. - Doop's renderer sometimes screenshots before Inter loads; a frame that looks wider than expected is showing the fallback font, not the design.