Notification Center

A React notification center card with a settings action and a stack of notification items showing title, body, relative time and an unread marker.

src/registry/blocks/notification-center.tsx/r/notification-center.json

Installation#

bash
npx shadcn@latest add @minidev/notification-center

MiniDev UI is in the shadcn registry directory, so the short form works with no setup. Older CLI versions can use the full URL: npx shadcn@latest add https://ui.minidev.pro/r/notification-center.json

Usage#

tsx
import { NotificationCenter } from "@/components/ui/notification-center"

export function Example() {
  return <NotificationCenter />
}

API reference#

NotificationCenter takes no props. It ships with realistic sample content: install it, then edit the copy and data in the file directly. The file is yours.

Dependencies#

npm

React only
All alerts, toasts and empty states

Learn more