Stateful Button
OfficialA smart button that shows loading and success states with smooth animations. Perfect for form submissions, async actions, and user feedback.
Freebuttonloadingsuccessanimationstatefeedbackasync
0 downloadsOonkooUI Team
Installation
Run the following command:
npx oonkoo add stateful-buttonProps
StatefulButton Props
| Prop | Type | Default |
|---|---|---|
| className | string | - |
| children | React.ReactNode | - |
Usage
Copy and paste the following code to use this component:
import { StatefulButton } from "@/components/oonkoo/stateful-button"
<StatefulButton>
{/* Your content */}
</StatefulButton>