Measured entry

tripled-native-notification-bell-carbon

badgeminimal-flatmotion on file

A client-side React notification button that rings when notifications appear, shows a capped badge, supports custom icons and sizes, and respects reduced-motion preferences. It ships as shadcn registry source and relies on Framer Motion, Lucide React, Tailwind theme classes, and a local cn utility.

Specimen
Motion capture of the mounted demo, recorded by the harness. No audio track.
Harness screenshot of tripled-native-notification-bell-carbon at 375 pixels wide
Harness screenshot at 375 pixels wide. No horizontal overflow recorded.
Harness screenshot of tripled-native-notification-bell-carbon at 768 pixels wide
Harness screenshot at 768 pixels wide. No horizontal overflow recorded.
Harness screenshot of tripled-native-notification-bell-carbon at 1440 pixels wide
Harness screenshot at 1440 pixels wide. No horizontal overflow recorded.

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.

Harness measurements recorded for tripled-native-notification-bell-carbon
BuildOK
MountOK
Console errors0
Uncaught page errors0
Horizontal overflowclean at 375, 768, 1440
Axe critical0
Axe serious0
Axe moderate0
Axe minor0
Gzip marginal67.5 KB (132.9 KB build, 65.4 KB baseline)
Bare modeFAIL
Provider requiredNO
Demo usedwritten from the component source API

What the harness recorded

BARE BUILD

✗ Build failed in 1m 30s
error during build:
[vite:load-fallback] Could not load <sandbox>/src/lib/utils (imported by src/cut/@uitripled/react-carbon/src/components/native/native-notification-bell-carbon.tsx): ENOENT: no such file or directory, open '<sandbox>/src/lib/utils'

Verdict

A focused, accessible bell trigger with sensible motion handling and useful customization hooks. It builds and mounts in the prepared harness, but needs a shadcn-style setup because the bare project cannot resolve its local utility import. Best for teams already using that convention.

Use it if

  • You need a ready-made notification trigger with an unread badge and a short attention animation.
  • Your interface already uses Tailwind theme tokens and the shadcn cn helper pattern.
  • You want click and ring callbacks plus an option to supply your own icon.
  • Reduced-motion behavior is a requirement for animated controls.

Skip it if

  • You do not want Framer Motion added for a single small control.
  • You need the badge to display the full unread count instead of a capped label.
  • Your design system does not use Tailwind theme tokens and you do not want to translate the classes.
  • You need a notification menu or popover included rather than only its trigger.

Install

Installation record for tripled-native-notification-bell-carbon
Declared dependenciesframer-motion, react
Missing on installnone
Bare installfails once the shadcn-style helpers are removed, so it needs that setup
Providerno provider required in the harness

In a non-shadcn project, install Framer Motion and Lucide React, provide a cn class-merging helper or replace its import, configure the Tailwind color and focus theme tokens used by the component, and keep it in a client-rendered React boundary.

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.

Alternatives

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.