Skip to content
WingoUI
ComponentsTemplatesDocsPricingAI agentsBlogChangelogContact
Components
Buttons & Actions
ButtonButton GroupCopy ButtonDelete ButtonTheme ToggleToggleToggle Group
Inputs
Avatar UploadCalendarCheckboxColor PickerComboboxCountry SelectCron PickerCurrency InputDate PickerDate Range PickerDate Time PickerDuration PickerEmail InputEmoji PickerFile UploadFilter BuilderInputInput GroupListboxMasked InputMention InputMonth PickerMulti SelectNumber InputOTP InputPassword InputPhone InputRadio GroupRatingSearch InputSegmented ControlSelectSignature PadSliderSwitchTag InputTextareaTime PickerTimezone SelectTree Select
Forms
Address InputBooking WidgetCSV ImportFieldForm WizardInline EditInvoice line itemsRich Text EditorSchema Builder
Navigation
Back To TopBounce SidebarBreadcrumbCommand MenuGlobal SearchGooey NavHook SidebarNav MenuNav TabsPaginationProximity SidebarScroll ProgressSidebarStepsTable Of ContentsTabsTopbarUser MenuWorkspace Switcher
Overlays
Alert DialogContext MenuDialogDrawerDropdown MenuFamily DrawerHover CardPopoverShare DialogSheetShortcuts DialogTooltipTour
Feedback
AlertBannerCookie ConsentEmoji ReactionEmpty StateNotification BellNotification CenterProgressRoute ProgressSetup ChecklistSkeletonSpinnerToast
Data Display
Approval FlowAvatarBadgeCalendar ViewCode BlockComment ThreadContact cardCountdownDescription ListDiff ViewerFile ListFile managerFolderGanttJSON ViewerKbdLog ViewerMarkdownPresenceSchedulerTagTimelineTree View
Tables & Lists
Audit LogData TableDeal PipelineEditable GridKanbanListMembers tablePermissions MatrixTableTask ListVirtual List
Charts & Stats
Animated CounterArea chartBar chartDonut chartFunnel chartGaugeGitHub ActivityHeatmap calendarLeaderboardLine chartRadar chartRadial barSparklineStat CardTrackerTrend badge
Layout
AccordionApp ShellCardCollapsibleDetail LayoutEntity HeaderPage HeaderScroll AreaSeparatorSettings LayoutSplit ViewToolbar
Media
Audio PlayerCarouselCSV ViewerDOCX EditorDOCX ViewerExcel ViewerFile SystemImage compareImage CropperImage GalleryImage LightboxLocation MapPDF ViewerPowerPoint ViewerQR CodeStep PlayerVideo Player
AI Kit
Agent Status CardChat MessageChat ThreadChat WidgetConversation ListFluid OrbGrid RevealMatrix OrbModel PickerPrompt InputReasoning IndicatorRule BuilderSuggestion ChipsTool Call TimelineUsage MeterVoice InputWorkflow Canvas
Text & Effects
Background PatternGravity LettersMarqueeTerminalText AnimateText Rotate
Mobile
Action SheetBottom Tab BarFABHaptic ButtonHero HeaderInstall PromptLarge Title HeaderNotification BannerOnboarding CarouselPicker WheelPull To RefreshSlide To ConfirmSticky CTA BarSwipe DeckSwipeable Tabs
Commerce
Cart drawerCategory pickerCheckout stepsCoupon inputFavorite buttonFilter panelListing cardListing gridOrder trackerPricePrice rangePricing tableProduct galleryQuantity stepperReviewsSeller card
Marketing Sections
App Download SectionBlog Cards SectionCTA SectionFAQ SectionFeature GridFeature ShowcaseHero SectionIntegrations SectionLogo CloudMarketing FooterMarketing HeaderMarketing SectionNewsletter SectionPricing SectionStats SectionSteps SectionTeam SectionTestimonials SectionTimeline SectionVideo Section
Blocks
Admin Dashboard PageAdmin ShellAI Chat PageAPI Keys PageAutomation Builder PageCheckout PageCRM Contact PageCRM Pipeline PageError PagesInbox PageInvoice PageKPI DashboardListing Detail PageLogin PageMarketplace Home PageMarketplace Search PageMarketplace ShellMobile App HomeOnboarding FlowOrder History PagePost Listing WizardPricing PageProfile PageRegister PageSettings PageUsers Admin Page
Templates
About PageAcademy PageAccessibility PageAffiliate PageAgency PageAI Product PageAppointment Booking PageBlog PageBlog Post PageBug Bounty PageCareers PageChangelog PageCommunity PageCompare PageContact PageCustomer Story PageCustomers PageDemo Booking PageDevelopers PageDocs Home PageDownload PageEnterprise PageEvents PageExperts PageFAQ PageFeature PageGlossary PageHelp Article PageHelp Center PageHome Services PageImpact PageIntegration Detail PageIntegrations PageJob Detail PageLanding PageLaunch PageLegal PageManifesto PagePortfolio PagePress PageProduct Tour PagePromo PageReal Estate PageReferral PageResearch Report PageRestaurant PageRoadmap PageROI Calculator PageSecurity PageSolutions PageStartups PageStatus PageStorefront PageSwitch PageTemplate Gallery PageTravel PageWaitlist PageYear in Review Page
Hooks & Utilities
AI ChatChart kitCommerceDate utilsFile exportFile typesFiltersForm validationHapticsInvoicingMotion presetsNavigationNumber formatRelative timeRomanian locationsSpreadsheetText matchTonesUIProvideruseClipboarduseConsentuseControllableStateuseCooldownuseDebounceuseKeyboardInsetuseLocaleuseLongPressuseMediaControlsuseMediaQueryuseOverflowItemsusePersistedStateuseScrollEdgesuseScrollStateuseSelectionuseShortcutuseStickToBottom
GalleryTheme

Feedback

Notification Bell

Feedback

Notification Bell React component for Tailwind CSS v4

Empty StateNotification Center
Live props
State
count0
Behavior
max99
ringStrength1
asChild
Appearance
variant
size48px
color
badgeTextColor
surfaceColor
iconColor
Content
label
unreadLabel
Code
import { NotificationBell } from "@/components/ui/notification-bell"

<NotificationBell />
  1. Home
  2. Components
  3. Feedback
  4. Notification Bell
Free

Notification Bell React component for Tailwind CSS v4

v1.0.1·Updated in 1.2.1

A React notification bell with an iOS-style unread badge that rolls its digits on new alerts.

Press plus to add a notification, minus to clear one. The bell swings when one lands, its clapper lagging behind, and the count rolls to the new number digit by digit. Add a few fast and it swings harder. Past the max the badge reads 99+, and it shrinks away at zero.

Notification Bell is a free React component in the React feedback components category, written in TypeScript for React 19 and Tailwind CSS v4. It installs as source with npx wingo-ui@latest add notification-bell, together with Motion presets and UIProvider and the npm packages motion and @radix-ui/react-slot.

Add to a project

Requirements: React 19 and Tailwind CSS v4, in Next.js (App Router or Pages), Vite or React Router. Installation guide · Next.js setup · Vite setup

npx wingo-ui@latest add notification-bell

Usage

Import NotificationBell from @/components/ui/notification-bell.

import { NotificationBell } from "@/components/ui/notification-bell"

export function Demo() {
  return <NotificationBell count={8} />
}

// or wrap it in your own menu trigger (shadcn dropdown-menu):
// <DropdownMenuTrigger asChild>
//   <NotificationBell count={unread} />
// </DropdownMenuTrigger>

Props

  • countdefault 0
    number

    Unread total on the badge. The badge is hidden at 0, and fractional or negative values are floored to it.

  • maxdefault 99
    number

    Highest number shown. Anything above it displays as the max followed by a plus.

  • variantdefault "count"
    "count" | "dot"

    Whether the badge shows the number or a plain dot. The dot appears and leaves on the same counts.

  • sizedefault 48
    number

    Diameter of the button in pixels. The bell, badge, and digits are all fractions of it. Below 44px the button keeps a 44px hit area on touch screens.

  • colordefault "red"
    "red" | "orange" | "green" | "blue" | "violet" | string

    Badge color: a name from the Apple system palette (each swaps to its dark mode variant with the theme) or any CSS color.

  • badgeTextColordefault "#ffffff"
    string

    Any CSS color for the digits in the badge.

  • surfaceColordefault ""
    string

    Any CSS color for the round button. Empty uses #F4F4F9 light, #262626 dark.

  • iconColordefault ""
    string

    Any CSS color for the bell glyph. Empty uses #868593 light, #9B9AA7 dark.

  • ringStrengthdefault 1
    number

    How hard the bell swings when the count goes up: 0 keeps it still, 1 is the original swing, 2 twice the kick.

  • labeldefault "Notifications"
    string

    What screen readers hear with no unread notifications; also the button's name.

  • unreadLabeldefault "Notifications, {count} unread"
    string

    What screen readers hear with unread notifications; {count} fills in, e.g. "{count} unread notifications".

  • asChilddefault false
    boolean

    Uses your own child as the trigger instead of the built-in button, so the badge can sit on an avatar or a nav item. Your element should be round for the badge to line up, and the bell swing only runs on the built-in button.

  • children
    ReactNode

    The custom trigger when asChild is set. Ignored otherwise.

  • className
    string

    Extra classes merged onto the root element; other button props are spread onto it too. Sizing is set inline from the size prop, so a width or height class here will not take effect.

Parts

  • NotificationBellColor

    type

    The named badge colors: "red" | "orange" | "green" | "blue" | "violet". color also takes any CSS color.

Examples

App header

Between search and the avatar at 40px; opening it marks everything read and the badge shrinks away.

Messages arriving

Each new message swings the bell and rolls the count; clearing them hides the badge.

Dot, colors and overflow

variant dot hides the number; color takes a system name or any CSS color; past max the badge reads 99+.

Dependencies

motion@radix-ui/react-slotmotionui-config

Files

  • components/ui/notification-bell.tsx

FAQ

Is the React Notification Bell component free?

Yes. The source is free and needs no account: copy it from the Code tab or install it with the CLI.

How do I install Notification Bell?

Run npx wingo-ui@latest add notification-bell. It also adds the Wingo UI items it builds on (Motion presets and UIProvider) and the npm packages motion and @radix-ui/react-slot. With shadcn, run npx shadcn@latest add https://wingo-ui.com/r/notification-bell.json.

See also

Notification CenterBadgeAnimated CounterTopbarToast

More React feedback components

Setup ChecklistSpinnerSkeletonRoute ProgressEmoji ReactionAlert
All 13 React feedback components

Articles using this component

  • React Notification Center: Inbox, Bell and Toasts

    Component guides · Oct 19, 2026 · 8 min read

PreviousEmpty StateNext Notification Center

Press plus to deliver a notification.