About
A notification inbox with All and Unread filters, per-day groups, an animated unread counter, read and unread toggles, dismissals with an animated Undo bar, a mark-all action, live announcements and an empty state. The filter tabs support arrows, Home and End.
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Notification Center to your project and fits it to your theme.
Code
How Notification Center is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
"use client";
/**
* PrequelUI Animate — MIT — https://prequeluianimate.terravidhal.me
*/
import {
NotificationCenter,
type AppNotification,
} from "@/components/ui/notification-center";
const NOTIFICATIONS: AppNotification[] = [
{
id: "n1",
title: "New comment on the launch brief",
description: "“The second paragraph could carry the metric more clearly.”",
time: "8m",
day: "Today",
kind: "message",
actor: "AM",
read: false,
},
{
id: "n2",
title: "You were mentioned in Roadmap",
description: "Jordan asked for your review on the Q1 milestones.",
time: "42m",
day: "Today",
kind: "mention",
actor: "JR",
read: false,
},
{
id: "n3",
title: "Weekly digest is ready",
description: "12 tasks closed, 3 reviews requested and 2 blockers.",
time: "2h",
day: "Today",
kind: "system",
read: true,
},
{
id: "n4",
title: "Payment method expiring soon",
description: "Update the card on file before the next renewal.",
time: "5h",
day: "Today",
kind: "alert",
read: false,
},
{
id: "n5",
title: "Invitation accepted",
description: "Sam joined the workspace as an editor.",
time: "Yesterday",
day: "Yesterday",
kind: "message",
actor: "SK",
read: true,
},
{
id: "n6",
title: "Storage is almost full",
description: "You have used 92% of the shared asset library.",
time: "Yesterday",
day: "Yesterday",
kind: "system",
read: true,
},
];
export default function NotificationCenterDemo() {
return (
<main className="flex min-h-screen w-full items-center justify-center bg-background px-6 py-12">
<NotificationCenter
notifications={NOTIFICATIONS}
description="Comments, mentions and account alerts in one place."
footerNote="Notifications are kept for 30 days. Change this in preferences."
/>
</main>
);
}








