Notifications
In-app notification blocks for shadcn/ui. Notification centres, dropdown inboxes, grouped activity feeds with read states, and toast stacks. Built for shadcn/ui.
Notification centre in a max-w-md shadcn/ui Card: the header carries an unread-count Badge and icon Buttons with Tooltips for "Mark all as read" and settings, Tabs switch between All, Unread and Mentions, and each row combines an Avatar, a sentence with the actor in bold, a relative time and an unread dot. Rows mark themselves read on click and empty tabs show a friendly caught-up state. Drop it into a sidebar, sheet or popover.
An app top bar with nav links, search and a Bell icon Button carrying an unread-count Badge; its Popover (open by default, aligned to the end, 24rem wide) groups notifications into Today and Yesterday and offers inline actions – Accept / Decline on a project invite and Reply under a quoted comment. The page behind shows a realistic issue list so the dropdown reads in context. Built with shadcn/ui Popover, Avatar, Badge and Button.
Full-page activity feed (max-w-3xl) for shadcn/ui: a header with unread count, pill-shaped filter chips for All, Mentions, Assigned and System with counts, date separators for Today and This week, and a vertical timeline whose rows use tinted chart-colour icon circles per event type with a small Avatar overlay. Comment events expand through a Collapsible preview with Reply and Open issue actions, and a "Load older activity" Button closes the list.
A Skeleton page placeholder (header, stat cards and a two-column content grid) with a stack of four toasts pinned to the bottom-right corner: success with a check icon, info with a Progress bar showing export progress, warning with an action Button and destructive with Undo. Each toast dismisses with an X and a "Reset toasts" link restores the stack. Composed from shadcn/ui Skeleton, Progress and Button, useful for documenting notification styles.
Frequently asked questions
What the Notifications blocks include, how to install them, and which ones are free.
4 Notifications blocks for shadcn/ui:
- Notification centre panel with tabs
notifications-01(free) - Dropdown inbox from the top bar bell
notifications-02 - Activity feed timeline with filters
notifications-03 - Toast stack over a loading page
notifications-04
Set up the shadcn/ui Pro registry in your project once, as described in Installation, then run npx shadcn@latest add @shadcnpro/base/notifications-01. The block lands in components/blocks/notifications-01.tsx together with the shadcn/ui components and npm packages it uses. notifications-01 is free, so it installs without a license key.
Yes. Notification centre panel with tabs (notifications-01) is free: the code is shown on this page and it installs without a license key. The other 3 need a shadcn/ui Pro plan, which starts with a 7-day free trial.
Yes. Every Notifications block uses semantic classes such as bg-background, text-muted-foreground and bg-primary, so it picks up your colors, radius and fonts and switches with dark mode. It is responsive from desktop to mobile; the width controls on the preview above let you check.
Yes. Every Notifications block has a matching design in the shadcn/ui Pro Figma kit, so designers and developers work from the same layout. The /generate-code Agent Skill installs the block from the registry when it finds it in a Figma frame, instead of rebuilding it.
Yes. With the shadcn/ui Pro MCP server connected to Cursor, Claude Code or VS Code, describe what you need, for example "Use shadcnpro to add a notification centre panel with tabs." The agent finds the block with search_blocks, reads its install command and installs it after you approve.