{"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},"Tips.default":{"fields":{"dismissed":false},"persist":"memory","send_to_server":true}},"endpoints":{"action":"/_bretzel/action","sse":"/_bretzel/sse","refetch":"/_bretzel/refetch"},"csrf":"4b07d6b8076a06039bdf96131446801d","page_id":"df5bcfed62754254b1b87ee9d89d74bb","address":""}
ui.alert

Alert

Four semantic tones, an optional title, an icon that picks itself — and a close button.

Status messages

Info, success, warning and error each bring their own icon.
Scheduled maintenance
Your workspace will be migrated to the new region on Sunday at 02:00 UTC.
All settled
Payment received. Invoice INV-2041 is now marked as paid.
Approaching your limit
You have used 92% of your monthly API quota.
Payment failed
We could not charge the card ending in 4242. Update it to keep your plan active.

Just a message

Without a title, an alert is a single quiet line.
Changes are saved automatically as you type.
Two-factor authentication is on for every admin.
This link expires in 24 hours.

Your own icon and tone

icon= takes any Lucide name, or False for none; the neutral colours suit promotions and hints.
Better together
Invite three teammates this week and get a month of Pro.
Keyboard shortcuts are available — press ? to see them.
Archived projects are read-only. Restore one to edit it.

Inside a form

Next to the fields it concerns, where the user is already looking.

Billing details

Used on every invoice we send you.
The card on file expires in 12 days.

Dismissible

The × closes the alert in the browser. on_close takes a client expression, as here, or a Python function when the server must remember the choice.
Tip
Drag a card onto another column to change its status.