Loading
A Loading component displays a spinner indicator while content is being loaded. Built on top of heroui-native Spinner.
Demo
Demo Coming Soon
Loading examples will be available soon.
Usage
import { NLoading } from '@nayan-ui/react';const Loading = () => {return <NLoading className="text-accent" />};export default Loading;
Attributes
| Name | Type | Default | Details |
|---|---|---|---|
| containerClassName | string | ' ' | You can customise container by passing tailwind classes. |
| ...SpinnerProps | SpinnerProps | All heroui-native Spinner props are supported (size, color, etc.). |