Installation
Usage
Examples
With Loading State
You can show a loading state by passing the isLoading
prop. By default, the loading state is false.
Disabling Click Effect
You can disable the click effect by passing the showClickEffect
prop. By default, the click effect is enabled.
Adding Icon
You can add an icon to the button by passing the startContent
or endContent
prop. By default, the icon is null.
You can pass all the props of the Button
component from Shadcn to the AnimatedButton
component.