

Every state


default


booking
Props
| Prop | Type | Default | What it does |
|---|---|---|---|
| app | string | – | Name of the app on the left |
| items | { name: string; price: string; icon?: "shirt" | "bag" | "ticket" | "box" }[] | – | Two order lines in the app screen, each with an icon |
| total | string | – | Total shown above the button |
| payWith | string | – | Payment line in the cart, e.g. Card ending 0417 |
| button | string | – | Button label |
| request | string | – | Request line, method and path |
| requestBody | string[] | – | Request body, up to three lines |
| server | string | – | Host name in the server card |
| steps | ApiStep[] | – | Two to four steps the server runs: step, took |
| trace | string | – | Trace id in the server card once it responded |
| status | string | – | Response status, e.g. 201 Created |
| responseBody | string[] | – | Response body, up to three lines |
| latency | number | – | Round-trip time in ms; what the steps do not cover shows as network |
| accent | string | – | Pulse and highlight colour: a token like var(--chart-2) or any CSS colour |
| label | string | – | Screen-reader description of the whole visual |
| still | boolean | – | Show the end state only, never animate |
More apis and webhooks
All 5visual-api-04 is in UI ProGet UI Pro, €199


