Skip to main content

transition-size

Opt into real width/height changes.

Quick reference​

SyntaxBehavior
transition-sizeAnimate measured width/height.
show + transition-sizeRetained expansion to measured content size.

Example​

<Column state="{open:true}">
<Button title="Toggle panel" on-press="toggle open" />
<Column show="open" class="transition-size overflow-hidden">
<Text text="Measured content" />
</Column>
</Column>

Rules and validation​

Size changes allocate real layout and can move siblings. Min/max and accessibility bounds apply immediately. Text/font changes remain discrete; supported text reflow uses bounded presentation crossfades. Test focus and scrolling during expansion. Reduced/off snaps geometry.

Size and spacing · All reference