Skip to main content

animate-spin, animate-pulse, and animate-none

Repeat a decorative loading effect.

Quick reference​

SyntaxBehavior
animate-spinRepeating rotation.
animate-pulseRepeating opacity.
animate-noneDisable the repeating effect.

Example​

<Row class="gap-2 items-center">
<View class="w-6 h-6 bg-accent animate-pulse" />
<Text text="Loading files" />
</Row>

Rules and validation​

Loops stop while hidden/offscreen, backgrounded, detached, reduced, or off. Keep meaningful static loading text. Arbitrary CSS keyframes/timelines are not part of this API.

Loading effects · All reference