OonkooUI

Stateful Button

Official

A 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-button

Props

StatefulButton Props

PropTypeDefault
classNamestring-
childrenReact.ReactNode-

Usage

Copy and paste the following code to use this component:

import { StatefulButton } from "@/components/oonkoo/stateful-button"

<StatefulButton>
  {/* Your content */}
</StatefulButton>

Component Info

Typeelement
Categorybuttons
TierFree
Last updatedDec 24, 2025