Skip to content

Notification Bell

Free

A bell button with the number of unread notifications. When new ones come in, the count rolls up and the bell rings.

  • React 19
  • Tailwind CSS 4

Added Nov 15, 2026 · MIT + Commons Clause

Playground

Loading the preview

Props

Pass the unread count, and open the list from a Popover.

The sample also uses Popover. One command adds them with this item:

inbox-bell.tsx

NotificationBell

<button>
PropTypeDefaultDescription
classNamestring—
busyboolean—The button waits for the app (busy words): a spinner, aria-busy, and no clicks. Focus stays on the button. The style hook stays data-loading.
spinnerPlacement"center""start"—center (default): the spinner covers the label. start: it takes the leading icon slot. The icon sizes always use center, because their one icon is the label.
glass"clear""dark""light"—
rounded"default""full"—
countRequirednumber—The number of unread items. 0 (and a value under 0) shows no mark.
mark"count""dot""count"count (default) shows the number; dot shows only that something is new.
variant"ghost""outline""ghost"ghost (default) for a header or a toolbar; outline on a plain page.
size"default""lg""sm""default"The bell size: sm 28px, default 32px, lg 36px.
maxnumber99The largest number to show; a larger count shows "99+". Default 99.
localestring—The BCP 47 locale of the digits ("ar-EG" gives "١٢"). Default: useDisplayLocale.
unreadLabelunreadWordsThe name of the dot mark: "12 unread". Default English words.
From Base UIButtonBase UI docs
focusableWhenDisabledbooleanfalseWhether the button should be focusable when disabled.
render—Allows you to replace the component's HTML element with a different tag, or compose it with another component. Accepts a ReactElement or a function that returns the element to render.
style—Style applied to the element, or a function that returns a style object based on the component's state.
...props<button> attributes—Every other attribute goes to the <button>, with a ref.
  • Pass the unread number as count. At 0 the mark goes away.
  • Use mark="dot" when only "something is new" matters.
  • Pass the bell as the render element of a PopoverTrigger to open a list.

Built with

Installs with Notification Bell

  1. AddedNotification Bell, with Animated Bell Icon, Button, Indicator.
Open the release