Skip to main content

transition-spacing

Opt into animated padding and gaps.

Quick reference​

SyntaxBehavior
transition-spacingResolved padding edges and container X/Y gaps.

Example​

<Column class="p-4 gap-3 transition-spacing spring-soft">
<Text text="One" /><Text text="Two" />
</Column>

Rules and validation​

This selector opts into real layout work. Change padding/gap targets with bind-class to observe motion. It does not animate flex arrangement, direction, text metrics, or scroll position.

Size and spacing · All reference