Loading component…
Components /Animated Button
Animated CTA button with shine effect
Run the following command
npx shadcn@latest add https://raw.githubusercontent.com/Ashutoshx7/VengeanceUI/main/public/r/animated-button.json| Prop Name | Type | Default | Description |
|---|---|---|---|
| children | React.ReactNode | 'Browse Components' | The content to be displayed inside the button. |
| className | string | '' | Additional CSS classes to apply to the button. |
| as | string | 'button' | The HTML element or motion element to render as. |
| whileTap | TargetAndTransition | { scale: 0.97 } | Framer Motion animation properties for the tap (click) state. |
| transition | Transition | { ...spring } | Framer Motion transition configuration. |