Measured entry
tripled-native-notification-bell-shadcnui
badgeminimal-flatmotion on file
A client-side React notification button with an unread badge, a short ring animation, reduced-motion handling, size options, custom icon support, and click and ring callbacks. It ships as a shadcn registry component and uses Framer Motion, Lucide React, Tailwind utility classes, theme tokens, and the shadcn cn helper.



Measured
Every value below was written by the harness on the run that produced the frames above. None of it is derived from the prose.
| Build | OK |
|---|---|
| Mount | OK |
| Console errors | 0 |
| Uncaught page errors | 0 |
| Horizontal overflow | clean at 375, 768, 1440 |
| Axe critical | 0 |
| Axe serious | 0 |
| Axe moderate | 0 |
| Axe minor | 0 |
| Gzip marginal | 67.5 KB (132.9 KB build, 65.4 KB baseline) |
| Bare mode | FAIL |
| Provider required | NO |
| Demo used | written from the component source API |
What the harness recorded
BARE BUILD
✗ Build failed in 1m 29s error during build: [vite:load-fallback] Could not load <sandbox>/src/lib/utils (imported by src/cut/@uitripled/react-shadcn/src/components/native/native-notification-bell-shadcnui.tsx): ENOENT: no such file or directory, open '<sandbox>/src/lib/utils'
Verdict
A focused, accessible trigger with useful callbacks and sensible reduced-motion behavior. It builds and mounts in the prepared harness, but it needs a shadcn-style setup because the bare project cannot resolve its cn utility. Best for teams already using that stack; otherwise the animation dependency and setup work are hard to justify for a small badge.
Use it if
- You need a compact notification trigger that can show a capped unread count.
- Your interface already uses shadcn theme tokens, Tailwind utilities, and the cn helper.
- You want the bell to animate when notifications appear while respecting reduced-motion preferences.
- You need click and ring callbacks or want to substitute a custom icon.
Skip it if
- You want a dependency-light badge and do not already ship Framer Motion.
- Your design system does not use Tailwind or shadcn-compatible color tokens.
- You need a full notification menu, popover, read state, or data-fetching behavior.
- You need direct control over when the ring animation replays.
Install
| Declared dependencies | framer-motion, react |
|---|---|
| Missing on install | none |
| Bare install | fails once the shadcn-style helpers are removed, so it needs that setup |
| Provider | no provider required in the harness |
In a non-shadcn project, add React, Framer Motion, and Lucide React; configure Tailwind; define the border, card, muted, ring, destructive, and destructive-foreground theme tokens; and provide a cn class-merging utility at the imported alias or change that import to your local helper. Ensure the file runs as a client component where that distinction applies.
Source and credit
This page is a review, not a copy. The component source lives with its author and this site does not republish it. Read the license before you use anything.
Author repository
github.com/moumen-soliman/uitripledAlternatives
Other published entries for the badge pattern, ordered by what they measured: mounts first, then clean axe scans, then bare-mode passes, then the smaller bundle.
- neu-badgeneumorphism
- Renders
- YES
- A11y
- 0
- Gzip
- 17.5KB
- Bare
- pass
- Prov
- NO
- clay-badgeclaymorphism
- Renders
- YES
- A11y
- 0
- Gzip
- 17.9KB
- Bare
- pass
- Prov
- NO
- ruixen-load-rippleunclassified
- Renders
- YES
- A11y
- 0
- Gzip
- 17.9KB
- Bare
- pass
- Prov
- NO
- kibo-listminimal-flat
- Renders
- YES
- A11y
- 0
- Gzip
- 42.4KB
- Bare
- pass
- Prov
- NO
- ruixen-blurred-stagger-textunclassified
- Renders
- YES
- A11y
- 0
- Gzip
- 58.1KB
- Bare
- pass
- Prov
- NO
- tripled-auto-revealing-heading-shadcnuiminimal-flat
- Renders
- YES
- A11y
- 0
- Gzip
- 58.3KB
- Bare
- pass
- Prov
- NO