Add loading effects
Add decorative motion beside a readable loading message.
Before you start: Style utilities.
Loading loops do not need a changed target. Keep useful static text so a stopped animation does not remove the meaning.
Loading: spin
animate-spin repeats rotation.
<Row class="p-4 gap-3 items-center">
<View class="w-6 h-6 bg-accent rounded-sm animate-spin" />
<Text text="Loading your files" />
</Row>
Loading: spin
editable
rReady to explore
Try it: Replace it with animate-none; the loading label remains.
Loading: pulse
animate-pulse repeats opacity changes.
<Row class="p-4 gap-3 items-center">
<View class="w-6 h-6 bg-accent rounded-sm animate-pulse" />
<Text text="Loading your files" />
</Row>
Loading: pulse
editable
rReady to explore
Try it: Choose Reduced in Environment & events and check the static state.
Loops stop while hidden/offscreen, backgrounded, detached, reduced, or off. Next: motion policy. Reference: animation.