Component packs › Fidget › Bell Icon

Bell Icon

Bell and clapper swing as two pendulums; every strike of the clapper sends a sound arc out of the side it hit.

Bell Icon is a notification from Fidget, a component pack with 10 animated icons: Animated icons with working parts: hinges, pendulums, springs and gravity. Price: $2 for the whole pack.

Built with: coupled pendulums, strike detection, spring badge.

Code: React and Next.js (TypeScript), Vue 3, plain HTML/CSS/JS, Tailwind CSS v4 and Motion (motion.dev). No npm packages needed. Keyboard accessible, with a reduced-motion version, in dark and light.

Bell Icon props

PropTypeDefaultDescription
countnumberUnread count shown on the badge. 0 hides it.
disabledboolean
labelstringAccessible name. The count is added to it.
sizenumberScale factor. 1 = 56 px button.
onPress() => voidCalled when the bell is pressed.
autoplaynumber | falseShowcase mode: a new notification rings the bell every N ms while visible.

Methods on the ref

Use it in React

import BellIcon from './BellIcon';

<BellIcon />

The Vue, HTML, Next.js, Tailwind and Motion versions take the same options.

More in Fidget

Good for: Animated icons.