Skip to content
Block PartsPro

Notification Item

One entry in a notification list, with an avatar or icon, the message, optional actions and an unread dot.

Usage

Can we move the launch review to Thursday?

2 min ago

LM

1 hour ago

Yesterday

Installation

bash
npm install @wunderui/react

Then import what you need:

tsx
import { NotificationItem, NotificationItemProps } from "@wunderui/react"

API Reference

PropTypeDefault
childrenReactNode—
timeReactNode—
iconReactNode—
avatar{ src?: string; initials?: string; color?: AvatarColor }—
quoteReactNode—
actionsReactNode—
unreadboolean—
onClick() => void—
classNamestring—