Rows on hairlines
The app’s structure comes from DESIGN-V2: rows on hairlines, 64px rows, no cards or shadows, one shared Row and one shared Sheet. Hearth changes the colours and the title face, not the structure. Every example below is live: tap it.
A 4px base
- Page gutter
- 20px on phones, rows run full bleed.
- Inside a row
- 4px between the two lines, 12px top and bottom, 64px minimum height.
- Between controls
- 8px minimum clearance around any secondary target.
- Sections
- A Sunken section head, no extra gap. The hairline does the separating.
Mostly square, softly rounded where you touch
One template, every screen
Estimated from the category. Chicken keeps about 2 days in the fridge.
- Four fixed zones
- Name, figure, meta, unit or change. Zones never swap between rows. Let the figure shrink (“$3.40”, with “a serve” below) so names get the full width.
- Height
min-height: 64px, never a fixed height, so text spacing can grow without clipping.- Tap target
- The whole row, edge to edge. One control per row.
- Surfaces
- Rows are Raised (#FFFFFF) on Paper with a 1px Hairline. Section heads are Sunken with an 11px caps label. No cards, boxes, tinted bands or shadows.
- Accessibility
- One screen-reader stop per row: “Broccoli, 2 heads, $2.98, Coles, checked 30 September”.
One primary action per screen
Plan this week
Two orange buttons on one screen, an outline button that looks like a second call to action, or Title Case.
No underlined text links
No underlined text links. Actions are buttons; navigation and inline links use colour or weight, with a visible focus ring.
- Actions
- Anything that starts a task (“Bring a recipe link”, “See how it works”) is a button: the primary, or the Quiet button with an Action label under it. Tertiary actions use the text button: Action, Inter 600, no underline, 44px tall.
- Header
- “Sign in” is a Quiet pill: 36px, with a 44px tap area.
- Inline links
- Action and Inter 600 inside running text. The weight is the cue that doesn’t rely on colour, because Action on Ink is 2.76:1. Hover goes to Action pressed.
- Navigation and footer
- Lists of links (contents, pager, downloads, footer) use colour and position, with no underline. Footer links are the footer copy colour #D9CFC3 on Cocoa and turn On cocoa on hover.
- Focus
- A 2px Action ring with a 2px offset (On cocoa on Cocoa), following the control’s shape. Focus is never shown with an underline, and
outline: noneis never used without a replacement. - Tap targets
- 44px minimum, including footer and inline links in lists.
- Not a link
- Strike-through on ticked list rows and on the before/after copy examples isn’t a link style, so it stays.
- Check it
- Lint for the
underlineTailwind class andtext-decoration: underlinein landing and app components. Tailwind’sproseunderlines links, so addprose-a:no-underline.
Plan this week
See how it works
Prices are checked every week. How we price.
Actions are buttons. Inline links are Action and 600, never underlined.
Plan this week
See how it works
Prices are checked every week. How we price.
Fields you can actually see
- Field
- Raised fill, 1px Field edge (#8E8377, 3.71:1), 12px radius, 52px tall, Inter 16 so iOS doesn’t zoom.
- Label
- Always visible above the field, Inter 15/600. Placeholders are hints, never labels.
- Required
- Mark the optional ones “(optional)”. No lone asterisks.
- Focus
- 2px Action outline.
- Error
- 2px Price rise edge, an icon and a sentence that names the cause and the fix. Explain before the button is pressed when possible.
- Checkbox
- 24px, 1.5px Field edge, 6px radius; ticked fills Action with a white tick.
One shell, four ways out
- Shape
- Raised, 20px top corners, a drag handle, over the Scrim (Cocoa at 45% in light, black at 60% in dark). In dark mode, a 1px Hairline top edge. No shadow.
- Detents
- Opens at about half height, drags to full.
- Dismiss
- X button, Escape, tapping the backdrop, and swipe down. All four, always.
- Never stacked
- A sheet never opens another sheet. Replace the content instead.
- Content
- The depth: per-store prices with unit pricing, change since last buy, last bought, freshness with its reason.
- Motion
- 220ms, Hearth ease-out. Scroll locks behind.
Every total shows what it covers and when it was checked
Each total covers different items. Tap a shop to see what it leaves out. Prices checked Wed 30 Sep; in-store prices may differ.
- Totals
- Figure plus “for 38 of your 41 items”, in the same row.
- Provenance
- “Coles, checked 30 Sep” on every price.
- The note
- Under the totals, always: totals cover different items, prices were checked on a date, in-store prices may differ.
- Unmatched
- Collected in a visible “No price yet” section with their names. Never dropped.
- Comparison
- “42c less at Coles. Coles $2.98, Woolworths $3.40.”
- Per serve
- “$3.40 a serve” for plans, from typical prices, said once in the header.
- Never
- “Cheapest”, a winner badge, a crown, or ranking a shop below 60%.
The trolley state
One hand, a trolley in the other. The counter and running total sit at the bottom. Ticks are saved on the phone first and never rolled back. Never say “offline” and never block with a modal.