114
A bell whose panel grows out of it: tabs for all, mentions and unread, grouped by day, approve requests inline, archive with undo and a badge that rolls as you read.
akanotifications·inbox·bell
Run this in any project set up for the shadcn CLI. It copies the Notification Centre source into your components folder, so the code is yours to change.
npx shadcn@latest add https://devl.dev/r/notification-centre.jsonImport it and render it. Every prop has a typed default, so it works straight away, and you pass your own data when you’re ready.
import { NotificationCentre } from "@/components/notification-centre";
export default function Page() {
return <NotificationCentre />;
}A free React component in the Workspace collection, written in TypeScript with Tailwind CSS on coss ui. MIT licensed.
Read from the Notification Centre source. Everything is optional unless it says required.
| Prop | Type | Default |
|---|---|---|
| notificationsrequired | NotificationItem[] | — |
| defaultOpen | boolean | false |
| onRequest | (item: NotificationItem, approved: boolean) => void | — |
| onSettings | () => void | — |
| className | string | — |