Skip to content
  • 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.

Live examples

Example.tsx

Attributes

NLoading attributes
NameTypeDefaultDetails
classNamestringOptionalSupported Tailwind-style utilities, resolved entirely in Rust. See the engine README.
accessibilityLabelstringOptional
sizenumber | "small" | "medium" | "large"OptionalRing diameter in logical points. small=20, medium=32 (default), large=48.
colorstringOptional
labelstringOptionalOptional caption displayed beneath the ring.
animatingbooleanOptionalShow a static ring when false. Reduced-motion preferences are automatic.
Engine reference for LoadingSet up engine components

Tags