ui.resizable
Resizable
Panels split by handles you drag. The split is kept in proportions, so it survives any window size.A mail client
Three panels, each with a min_size in percent so no column can be crushed. Drag the handles, or focus one and use the arrow keys.Folders Inbox Starred Sent Archive
Lumen StudioBrand guidelines, v3
Atlas FreightShipment left Rotterdam
Kinfolk & CoINV-2038 is paid
Brand guidelines, v3
Hi Ada — attached is the third round. We tightened the logo's clear space, dropped the second accent colour, and added a dark-mode palette for the app.Editor over terminal
orientation="vertical" stacks the panels.from bretzel import ui
def invoice_total(lines):
return sum(line.qty * line.price for line in lines)
$ pytest tests/billing
........................ 24 passed in 1.42s
A panel that folds away
collapsible=True lets a double-click on the handle close the panel, and gap= leaves room around the handle.OutlineSummaryPricingTimelineRisks
Proposal for Atlas Freight
Double-click the handle to fold the outline away; do it again to bring it back.A split that survives a reload
sizes= is tied to a ClientState with persist="local": drag, reload the page, and the split is where you left it. The buttons use the imperative .set() and .reset().Contract — section 4The supplier delivers within ten working days of each order.
CommentsGrace: can we make it seven? Atlas agreed to seven last year.