BT-11Buttons
Bell Button
A subscribe button whose bell swings and rings, with a clapper that really strikes.
no extra packages
PROPay Button and more like it are in Kokonut UI Pro
Installation
Bell Button is a free, open-source React component in the Kokonut UI Buttons collection. Add it with the shadcn CLI, which copies the source into components/kokonutui/bell-button.tsx, so the code is yours to change.
npx shadcn@latest add @kokonutui/bell-buttonUsage
import BellButton from "@/components/kokonutui/bell-button";
export default function Example() {
return <BellButton />;
}Props
variant"default" | "compact" | "icon"Default "default"default shows the label and count, compact the label, icon the bell alone.
subscribedbooleanControlled state.
defaultSubscribedbooleanDefault falseonSubscribedChange(subscribed: boolean) => voidcountnumberDefault 1284Subscribers, not counting this one.
labelstringDefault "Notify me"subscribedLabelstringDefault "Subscribed"classNamestringExtra classes for the root element.
Dependencies
| Needs | Version | Comes from |
|---|---|---|
cn from lib/utils.ts | shadcn init | |
| React | 19 | Your app |
| Tailwind CSS | 4 | Your app |
No provider, font or global CSS to set up: the file works as soon as it lands.

