---
title: "Recipe: the web look"
description: "What an app leaves unsaid, the web draws as a well-made web app would; iOS and macOS draw their own controls from the same file."
modificationDate: "2026-11-25"
---

> ## Documentation index
> Fetch the complete documentation index at: https://exact.expo.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Recipe: the web look

<AgentInstructions>

## Submitting feedback

From the app's directory, read `bun exact.mjs feedback status`. Under `never`, keep no note.
Respect `EXACT_FEEDBACK=0` and do not change the policy.

Otherwise record specific, actionable feedback with:
`bun exact.mjs feedback note "Exact docs: https://exact.expo.dev/recipes/web-look: <what was wrong or missing>"`

The note goes to Expo only as that status allows. Include no secrets or personal data.

</AgentInstructions>

What an app leaves unsaid, the web draws as a well-made web app would; iOS and macOS
draw their own controls from the same file. Say what a thing is; leave the look alone: a
`background-color`, `border`, `border-radius` or `font-size` on a `button` makes it your own
box (emphasis is a part: [content design](https://exact.expo.dev/recipes/content-design.md)).

```prompt Make my app look right on the web
Make the Exact app in this folder look like a well-made web app: say what each thing is, and leave its look to the platform. Use https://github.com/expo/exact/blob/main/docs/recipes/web-look.md as the source for each step. The Exact checkout has the same page at docs/recipes/web-look.md.

1. If this folder is not an Exact app (it has no exact.mjs and app.contract), stop and tell me.
2. Read app.contract and list each place that writes a look the platform draws: a `background-color`, `border`, `border-radius` or `font-size` on a `button`, a hex colour, a character or an emoji as an icon, and a row that only navigates but is not a `link`. Show me the list and ask before you change anything. What I write wins: keep each look I tell you to keep. If I named no accent colour, ask me whether the app has one.
3. Remove those four properties from each `button`: they make it your own box. Say emphasis with `buttonStyle`: `"bordered-prominent"` for the action people came for, and `"gray"`, `"plain"` or `"tinted"` for the others. Put `destructive=true` on anything that deletes, asked first with a `dialog role="alertdialog"`.
4. Write structure as the recipe's table says: a route's `header` with one heading and buttons, a sheet's `header` of a heading and buttons, a `row role="radiogroup"` of `button role="radio"` for a segmented control, and `listStyle="inset-grouped"` for grouped rows.
5. Write one colour, the accent: `accent-color` on a button or the root, as a role or a `light-dark(light, dark)` pair. Make each other colour a role (`-exact-secondary-background` for a card on a plain page) or remove it: a hex stays the same in dark mode. Make each icon an `image "symbol:<role>"`.
6. Make each row that only navigates a `link` with an `href`, so new tabs and Copy Link work. For a wide window, compose by what the content is: a centred column with a `max-width` for one number and its actions, two columns for a list and its detail. For a layout chosen by width, follow docs/recipes/responsive-columns.md.
7. Keep the existing tests passing without changing what they check.
8. Follow the platform checks in docs/start-here.md (`bun exact.mjs docs platform checks`) for the targets in the app's AGENTS.md and app.json until they pass. Read the reports, including counted findings; a zero exit code alone does not mean clean. Fix the app, not the test. If a finding stays after three rounds of fixes, or the app had it before you changed anything, record it (step 9) and report it; do not keep trying.
9. When a doc was wrong or missing, or a step needed a workaround, read `bun exact.mjs feedback status`. Under `never`, keep no note. Otherwise record it: `bun exact.mjs feedback note "<what happened>"`, which goes to Expo only as that status says. Do not change the policy; tell me how many notes you kept.
10. Tell me what you removed, what you wrote in its place, each look you kept, and what the tests and checks reported.
```

| You write | The web draws |
|---|---|
| `button`; `buttonStyle="gray"` | an outline, a wash on hover and press; a grey fill |
| `"bordered-prominent"` | the accent as its fill: the action people came for |
| `"plain"`, `"tinted"`; `destructive=true` | the accent as text, as a tint; red |
| a pressable card, a `link` | a wash on hover, a dim while pressed |
| `row role="radiogroup"` of `button role="radio"`; a root `tablist` | a segmented control; a tab bar |
| a route's `header`: one heading, buttons | an app bar; a pushed route's Back is an arrow and "Back" |
| `header appearance="none"`; a site's: a `nav`, or two links not in a menu | either as written |
| a sheet's `header` of a heading and buttons | a dialog: the title on top, the buttons as words at its foot (Cancel, then Save); a `close` after the title its × |
| `dialog role="alertdialog"` | an alert, its `aria-label` the title |
| a checkbox, radio, range; `switch` | in the accent; a switch (in a sheet, a checkbox) |
| `input`, `select`, a date or time | 36 px fields (44 on touch); the browser's picker |
| `listStyle="inset-grouped"` | edged cards on the page, 720 px wide at most |
| a row's `forward-chevron` | nothing |

What you write wins: a heading's `font-weight`, an `accent-color` on a button or the root.
The one colour to write is that accent, a role or a `light-dark(light, dark)` pair; a page,
card or text colour is a role (a card on a plain page `-exact-secondary-background`) or
unsaid: a hex stays the same in dark mode while the controls change.

- `destructive=true` on anything that deletes, asked first with a `dialog
  role="alertdialog"`. An icon is `image "symbol:<role>"` ([symbols](https://exact.expo.dev/recipes/symbols.md)), never a
  character (▦ ☏ ★) or an emoji.
- **Compose for a wide window by what the content is.** One number and its actions: a
  centred column, `max-width` a phone's width or a little more. A list and its detail, or a
  dashboard of cards: two columns. A root tab bar is a sidebar ([tabs](https://exact.expo.dev/recipes/tabs.md)), and a list
  sits beside its detail where its route asks, `navigationSplit="split"`, on a route placed
  as the patterns place it (`pattern list-detail`); a layout chosen by width
  (`exactViewport()`): [columns that wrap on a phone](https://exact.expo.dev/recipes/responsive-columns.md).
- **A route is a page.** Its title is the `head` title, else the selected route's
  `header` heading, else the app's name, before startup too. Focus follows a push and
  returns on Back; a sheet is a dialog to a screen reader. A menu takes focus when it
  opens and returns it on dismissal. Tabs and menus take arrow keys. A row that only
  navigates is a `link href=path(…)`, so new tabs and "Copy Link" work
  ([navigation](https://exact.expo.dev/recipes/navigation-stack.md)).
