- Android
- iOS
- Web
Loading
A Loading component is a UI element that indicates to users that a process is ongoing, such as data fetching, page loading, or background tasks. It typically features visual indicators like spinners, progress bars, or animated icons to convey that the application is busy and to enhance the user experience by preventing confusion or frustration during waiting periods.
Example.tsx
| Name | Type | Default | Details |
|---|---|---|---|
| className | string | Optional | Supported Tailwind-style utilities, resolved entirely in Rust. See the engine README. |
| accessibilityLabel | string | Optional | |
| size | number | "small" | "medium" | "large" | Optional | Ring diameter in logical points. small=20, medium=32 (default), large=48. |
| color | string | Optional | |
| label | string | Optional | Optional caption displayed beneath the ring. |
| animating | boolean | Optional | Show a static ring when false. Reduced-motion preferences are automatic. |