{"version":"v1.0","client_state":{"Studio.default":{"fields":{"primary":"#8a4a1f","secondary":"#3a52b0","success":"#2f9e64","warning":"#f0a91b","error":"#e5484d","info":"#0e9bc4","background":"#fafafa","surface":"#ffffff","interface":"#f0f0f1","text":"#171717","muted":"#6b6b6e","d_primary":"#9e5e34","d_secondary":"#566dc7","d_success":"#2f9e64","d_warning":"#f0a91b","d_error":"#e5484d","d_info":"#0e9bc4","d_background":"#0a0a0a","d_surface":"#151515","d_interface":"#212121","d_text":"#f5f5f5","d_muted":"#a0a0a3","spacing":0.25,"space_box":0.25,"space_gap":0.25,"box":0.625,"field_":0.5,"selector":0.25,"stroke":1.0,"font":"ui-sans-serif, system-ui, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji'"},"persist":"local","send_to_server":true},"ColorScheme.default":{"fields":{"mode":"system"},"persist":"local","send_to_server":true},"Phone.default":{"fields":{"tab":"home"},"persist":"memory","send_to_server":true},"Fitness.default":{"fields":{"tab":"today"},"persist":"memory","send_to_server":true},"Inbox.default":{"fields":{"unread":4},"persist":"memory","send_to_server":true}},"endpoints":{"action":"/_bretzel/action","sse":"/_bretzel/sse","refetch":"/_bretzel/refetch"},"csrf":"4b07d6b8076a06039bdf96131446801d","page_id":"e558c93f2687420b9fd379aa09966d2a","address":""}
ui.bottom_bar

Bottom bar

The tab bar of a phone app: four destinations, a badge on what needs you, always under the thumb.

A phone app

The bar sits under a ui.pane that scrolls. active= and on_click= are tied to a ClientState, so switching tabs never waits for the server. In an app, give each item an href= instead: the active tab then follows the URL.

Today

Café Lumière
Café LumièreTable for 2 · 19:30
Studio Pilates
Studio PilatesClass · Tomorrow 08:00
Barber & Co
Barber & CoHaircut · Friday 17:15

Search

Inbox

Café Lumière confirmed your table for tonight.

Profile

Ada Lovelace · member since 2021

Badges and a disabled tab

A badge counts what is waiting; disabled= greys out a tab that is not available yet.

A colour per tab

color= paints the tab while it is active — try each one.

A live badge

badge= follows a ClientState field and folds away at zero. Open Alerts to mark them read.