Loader
Loaders provide a visual cue about tasks running in the background, like fetching data. Use Loaders when the progress of the task is non-deterministic.
Accessibility
- Loader supports preferred reduce motion accessibility feature. When
Reduce Motion
is enabled, the animation slows down.
Usage
import Loader from "@asphalt-react/loader
<Loader />
Props
size
Size of the Loader. Accepts s, m and l for small, medium & large respectively
type | required | default |
---|---|---|
enum | false | "m" |