Measured entry

ruixen-notifications-filter

badgeunclassifiedmotion on file

A client-side React notification list with category pills, animated selection, and animated list filtering. It ships as a shadcn registry component but is self-contained, using inline styles rather than shared UI primitives. It depends on Motion and can optionally play a generated click sound through the browser audio API.

Specimen
Motion capture of the mounted demo, recorded by the harness. No audio track.
Harness screenshot of ruixen-notifications-filter at 375 pixels wide
Harness screenshot at 375 pixels wide. This viewport scrolled sideways.
Harness screenshot of ruixen-notifications-filter at 768 pixels wide
Harness screenshot at 768 pixels wide. No horizontal overflow recorded.
Harness screenshot of ruixen-notifications-filter 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 ruixen-notifications-filter
BuildOK
MountOK
Console errors0
Uncaught page errors0
Horizontal overflowflagged at 375
Axe critical0
Axe serious1
Axe moderate0
Axe minor0
Gzip marginal61.1 KB (126.5 KB build, 65.4 KB baseline)
Bare modeOK
Provider requiredNO
Demo usedwritten from the component source API

Verdict

A polished, focused filter panel that works without shadcn infrastructure and exposes useful data props. Adopt it if its interaction style fits, but budget for responsive sizing and keyboard-scroll remediation before production use.

Use it if

  • You need a compact notification panel with category filtering built in.
  • Your product already uses Motion and the added animation dependency is acceptable.
  • You want to supply your own notification items and category labels through props.

Skip it if

  • The panel must fit narrow phone containers without responsive adjustments, since its fixed width can overflow.
  • You need keyboard-accessible scrolling without remediation, since the scrollable list is not keyboard focusable.
  • You avoid optional interface sounds or need reduced-motion behavior built into the component.

Install

Installation record for ruixen-notifications-filter
Declared dependenciesmotion
Missing on installnone
Bare installbuilds and mounts without the shadcn-style helpers
Providerno provider required in the harness

Copy the client component into your project and add the Motion package. Ensure it renders on the client. No provider, Tailwind setup, shared shadcn primitives, or separate stylesheet is required. Disable the sound prop if browser-generated interface audio is unwanted.

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.