The SubscribeButton component is an interactive button for subscription actions, modelled on the YouTube subscribe animation, with customisable styles and timings.
Add it with the CLI, open it in v0, or copy the source into your project.
Adds the component and installs its dependencies for you.
npx shadcn@latest add https://uibeats.com/r/subscribe-button.jsonEverything Subscribe Button accepts.
| Prop | Type | Default | Description |
|---|---|---|---|
| onClick | () => void | undefined | Function to be called when the button is clicked |
| text | string | 'Subscribe' | Text to be displayed on the button |
| className | string | '' | Additional CSS classes to be applied to the button |