Notification
Hover decoration requires a fine pointer and hover support at widths of 768px or more. Phone and touch controls keep tap actions and keyboard focus without rollover effects.
Bell trigger on the chrome trigger style — unread badge as a count or a dot, spring micro-interactions on hover/tap and a pop when the badge appears or changes. Opening the notifications panel is the consumer's job.
Playground
Live preview
States
Examples
Interactive — badge pops as the count changes
Click the bell to mark one as read — try resetting to see the badge pop back in.
Usage
import { Notification } from "@npolyhunter/ui";
// Read state
<Notification onClick={() => openPanel()} />
<Notification count={0} /> // No red badge when the unread count is zero.
// Unread dot
<Notification dot onClick={() => openPanel()} />
// Unread count (renders "99+" above 99)
<Notification count={3} onClick={() => openPanel()} />Used in
Includes use through shared UI components.
AppBack Office
