All components, props, and value ranges available to blocks mini apps
A blocks mini app’s UI is built from a component tree, rendered natively by the site. You can’t write HTML, so XSS is impossible.
Component list
Component
Props
vstackhstack
gapalignpadding + children
zstack
align + children
text
valuesizeweightalign
button
labeliconvariantactiondisabled
image
urlwidthheightfitalt
icon
namesize
spacer
size
divider
—
progress
valuemax
input
nameplaceholdervalue
select
namevalueoptions
Value ranges
Prop
Allowed values
size / gap / padding
xssmallmediumlargexl
align
startcenterendstretch
weight
regularmediumbold
variant
primarysecondarydangerflat
fit
containcoverfill
Unknown component types and unknown props are rejected, not ignored — if you think you rendered a button but nothing shows up, that’s a bug you should be able to see, and the server rejects the invocation with E_INVALID_BLOCKS.
Component tree limits: 500 nodes / 32 levels of nesting / 256 KB.