Bill reader ledger

Paste an invoice or tap a starter bill; a scripted reader matches each line to the brand's own service, converts to local currency and sets it in a ledger with the saving.

Product tourFreeFrom Quader, Swiss gridAbout 6k tokens saved
The whole page

Links in the preview stay on the block.

Open on its own

The prompt

One prompt, written to stand on its own: goal, structure, type, colour, spacing, behaviour and the words in square brackets to replace. Paste it into any tool that writes HTML. The Code tab has this block as one file.

512 words
Download .zip
# Bill reader ledger

One product tour section, not a whole page: build it to drop into a page that already exists. Works in Claude, v0, Lovable, Bolt, Cursor or any tool that writes HTML.

## Goal
An AI feature you can try at once: your current bill, re-set line by line against ours, with a plain list of what we cannot move.

## Structure
1. two panes split 5 to 7 columns by a 1px rule, ink rules above and below
2. left: three starter chips, a mono textarea, a Read button and a privacy note
3. right: a ledger table with four columns (your line, today, our equivalent, price)
4. working state: four named steps with squares that blink then fill
5. result: rows slide in, totals in three columns with the saving in red, notes and two actions
6. fallback card for text without prices or known services

## Type
Chivo 400 to 800 for headlines and text with tabular figures; Chivo Mono 400 to 500 for labels, code and figures in tables.

## Colour
Paper #F6F6F3, white #FFFFFF, graphite #151515, stone #64645F, hairline #CDCDC8, signal red #D52B1E (white on red 5.0:1, red on paper 4.6:1).

## Spacing and lines
Panes 28px vertical padding; ledger rows 12px; totals 24px above.

## Behaviour
Parses amounts in several currencies and decimal styles, matches services by keyword rules, converts with Intl, staggers rows 110ms, rolls the total as an odometer and writes the saving back to the hero.

## Responsive
Under 1024px the panes stack; on phones the 'today' column hides.

## Accessibility
Landmarks and one h1 on the page, 44px targets, focus 2px red outline offset 2px, reduced motion shows the final state. aria-live on the ledger, the table has a caption, Cmd or Ctrl Enter runs it, nothing leaves the browser.

## Built values (from code.html)
- Fonts: Chivo 400 to 800 (self-hosted: fonts/chivo.woff2); Chivo Mono 400 to 500 (self-hosted: fonts/chivo-mono.woff2). Self-hosted files sit in fonts/ in the block download.
- Colour variables: --paper #F6F6F3, --ink #151515, --rule #CDCDC8, --stone #64645F, --red #D52B1E, --white #FFFFFF.
- Font variables: --sans "Chivo",system-ui,sans-serif; --mono "Chivo Mono",ui-monospace,monospace.
- Size variables: --m 56px, --gut 24px, --nav 64px.
- Media queries: max-width 1024px, max-width 760px, prefers-reduced-motion.
- No media files.
- Script: none, CSS only.

## Content to replace
- [Starter bills]: three named examples
- [Services]: the brand's own product names
- [Fallback]: what to paste instead

## Rules
Plain, specific copy that reads as a live product; never the word sample. No shadows, glow, glass, blur, gradient text, emoji or italics. Motion moves transform and opacity, with colour, border, height and stroke transitions on state changes, and holds its end state under prefers-reduced-motion. Text passes WCAG AA.

## Output
Return the block in one piece: the markup, one style block with the web fonts imported on its first line, and a small script only if the behaviour needs one. No page wrapper, no framework, no build step. Prefix every class with `blk-` and put the colours and sizes in CSS variables at the top.

More like this

Product tour

Every product tour block

Same page

More from Quader

See the page