Loader
Introduction
Loaders are used to indicate that users have triggered an action but the result has not been completely loaded yet.
Examples
Basic
A simple loading status
Sizes
Custom animation duration
Design Reference
N/A
API
Loader
Loader
import { Loader } from '@ahaui/react'
Copy import code for the Loader componentName | Type | Default | Description |
---|---|---|---|
size | 'small' | 'medium' | 'large' | 'medium' | Loader size variants |
duration | number | 2000 | Set the duration of the animation skeleton |