{"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},"Docs.default":{"fields":{"page":"refunds"},"persist":"memory","send_to_server":true}},"endpoints":{"action":"/_bretzel/action","sse":"/_bretzel/sse","refetch":"/_bretzel/refetch"},"csrf":"4b07d6b8076a06039bdf96131446801d","page_id":"7ce787fd30274d4fac21dd98d99fb98c","address":""}
ui.tree

Tree

Nested nodes that fold and unfold, with icons, a selected row and a value the rest of the page can follow.

A project's files

expanded= opens branches up front, value= marks the selected node, disabled= greys one out.
  • app
    • features
      • invoices.py
      • customers.py
      • reports.py
    • main.py
  • pyproject.toml
  • .env (hidden)

Browse a help centre

Bind value= to a ClientState field and the article follows the picked node in the browser. Add on_change when Python must load the article.
  • Basics
    • Getting started
    • Invite your team
    • Import customers
  • Billing
    • Create an invoice
    • Recurring invoices
    • Refunds
Help centre

Getting started

Invite your team

Import customers

Create an invoice

Recurring invoices

Refunds and credit notes

API keys

Webhooks

The article follows the node you pick in the tree, without a request to the server.

A read-only hierarchy

selectable=False keeps folding but drops the selection — an org chart, a table of contents.
  • Lena Park — CEO
    • Product
      • Omar Haddad — Design lead
      • Chloé Martin — Engineering
    • Sales
      • Tomás Silva — Account executive
      • Priya Nair — Customer success

Colours and sizes

  • Mail
    • Inbox
    • Sent
    • Spam
  • Reports
    • Q2 2026
    • Q3 2026