Motion policy and lifecycle
Keep interactions useful under system preferences and host lifecycle changes.
Before you start: Your first transition.
Policies are system, reduced, and off. System follows platform reduced-motion settings. Reduced and off currently snap channels. A scoped Theme policy can reduce host motion but cannot force full motion against a reduced host policy.
Your first transition
Compare the same simple interaction using the Motion selector in Environment & events.
<Column state="{changed:false}" class="p-4 gap-3">
<View bind-class="'w-16 h-16 bg-accent transition-opacity ' + (changed ? 'opacity-25' : 'opacity-100')" />
<Button title="Change target" on-press="toggle changed" />
</Column>
Try it: Select Reduced, press Change target, then try Off. State still changes in both cases.
Environment selectors
motion-safe: and motion-reduce: select supported styling for the effective
policy. motion-none disables all motion on a node; it differs from
transition-none, layout-none, and animate-none, which disable only their own
mechanism. See policy reference.
Test lifecycle changes
Test rapid reversal, hidden content, detachment, cancellation, focus, and teardown. A browser preview demonstrates shared behavior; verify native presentation on each target platform. Return to the motion reference when you need syntax or bounds.