{"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}},"endpoints":{"action":"/_bretzel/action","sse":"/_bretzel/sse","refetch":"/_bretzel/refetch"},"csrf":"4b07d6b8076a06039bdf96131446801d","page_id":"51ba1fad68c647aabd6875659662a82b","address":""}
ui.file_upload

File upload

A dropzone and the list under it — tiles, chips or a grid — with type, size and count checked before anything leaves the browser.

Product photos

The default dropzone: drop or click, with a thumbnail tile per image. accept, max_size_mb and max_files are checked on the spot.
Product photosAccepted: image/*Max size: 10 MBMultiple files allowed (up to 6)
PNG or JPG, up to 10 MB each. The first photo becomes the cover.

A gallery

display="grid" shows large tiles that wrap. A compact button that attaches is ui.attachments and any button with on_click=pieces.pick().
MoodboardAccepted: image/*Multiple files allowed
Large tiles that wrap. Paste a screenshot with Ctrl+V.

Documents in a form

Chips in narrow columns, a colour and a size, and a disabled picker.
Drop the PDFAccepted: .pdfMax size: 5 MB
Quotes, minutes…Accepted: .pdf,.docxMultiple files allowed (up to 3)
Up to 3 files, PDF or DOCX.
Choose a logoAccepted: image/*
Uploads are paused during the migration.

Import a CSV

Inside a form, the file is posted with it: the handler receives it by its name= and reads it.

Import contacts

Drop a CSV export from your CRMAccepted: .csvMax size: 2 MB