Patterns
NotificationCenter
Notification panel with unread count, type icons, and dismiss actions.
Quick Preview
Notifications2
AJ
New message from Alex
Hey! Can you review the PR?
2m ago
SL
Sam mentioned you
in #design-system: Great work on the tokens!
15m ago
KP
Kim liked your post
"Introducing Heatmap Component"
1h ago
Deployment complete
v2.4.0 deployed to production
3h ago
JS
New message from Jordan
Thanks for the help earlier!
5h ago
Installation
npm install lucide-react
// Copy fromsrc/components/patterns/NotificationCenter.tsx
Prompt Preview
Copy a prompt that recreates this UI
Paste this into your AI coding assistant to generate code that closely matches the reference, including color, size, shape, typography, spacing, and polish.
Copy-ready AI prompt
Starts from the current visual reference and project constraints.
Tweak only product-specific copy or data after the first generation pass.
Props
| Prop | Type | Default | Description |
|---|---|---|---|
notifications | Notification[] | - | Notification items (uses defaults if omitted) |
onMarkAllRead | () => void | - | Mark all read callback |
onDismiss | (id) => void | - | Dismiss notification callback |
maxHeight | string | '24rem' | Scroll container max height |
className | string | - | Additional CSS classes |