{"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},"Workspace.default":{"fields":{"view":"board"},"persist":"memory","send_to_server":true}},"endpoints":{"action":"/_bretzel/action","sse":"/_bretzel/sse","refetch":"/_bretzel/refetch"},"csrf":"4b07d6b8076a06039bdf96131446801d","page_id":"6125846596c24df28601bb1f3d4f60fc","address":""}
ui.navbar

Navbar

A brand on the left, links in the middle, actions on the right — sticky, lined up with the page, and aware of the page that is open.

A product's top bar

Three sections: side= pins them left, centre and right. Items take an icon, a badge, and can be disabled.

Lined up with the page

width= takes the words of ui.container: the bar and the page share their left edge — the first item's text sits right above the page title.

Open tickets

12 waiting on you, 3 past their deadline.

Stays on top while you read

sticky=True pins the bar to the top of whatever scrolls. Scroll the article inside the box.

Why we moved our warehouse to the coast

Shipping times fell by a third the month we moved. The rent went up, the fuel bill went down, and the team finally stopped driving two hours to meet the trucks at the port.Shipping times fell by a third the month we moved. The rent went up, the fuel bill went down, and the team finally stopped driving two hours to meet the trucks at the port.Shipping times fell by a third the month we moved. The rent went up, the fuel bill went down, and the team finally stopped driving two hours to meet the trucks at the port.Shipping times fell by a third the month we moved. The rent went up, the fuel bill went down, and the team finally stopped driving two hours to meet the trucks at the port.Shipping times fell by a third the month we moved. The rent went up, the fuel bill went down, and the team finally stopped driving two hours to meet the trucks at the port.Shipping times fell by a third the month we moved. The rent went up, the fuel bill went down, and the team finally stopped driving two hours to meet the trucks at the port.

Switch views without a round trip

active= and on_click= are tied to a ClientState: the view changes in the browser, with no request to the server.

Board

14 cards across To do, Doing and Done.

Timeline

Launch is in 23 days; two milestones are at risk.

Files

8 files, last one uploaded by Grace this morning.