ComponentsLoader
Loader
A loader component that displays a loading animation.
The Loader
component is a loader component that displays a loading animation. It is a great way to show users that content is loading and to keep them engaged while they wait.
Tip!
Use the type
prop to specify the type of loader to display. The spinner
type displays a spinning circle loader, while the dots
type displays a three-dot loader.
Props
The Loader
component accepts the following props:
Prop | Type | Default | Description |
---|---|---|---|
type | string | spinner | The type of loader to display. Possible values are spinner and dots . |
className | string | Additional classes to apply to the loader. |