About these loaders
- All animations are pure CSS (no JS, no images), so they work in any framework
- CSS variables
--cand--scontrol color and size for easy theming - Animations rely on GPU-accelerated properties (transform/opacity) for smooth perf
- For long loads, wrap with a skeleton placeholder to reduce visual jank
Accessibility
- Add
role="status"andaria-label="Loading"for screen readers - Respect
@media (prefers-reduced-motion)— show a static state instead - If load takes >30s, prefer a progress bar or skeleton over a spinner