Notification
Notification list item with avatar, title, description, time, and unread indicator.
Installation
Examples
Notification list
Stack of notifications with unread dot.
Alex Johnson followed you.
2m ago
Sarah Kim liked your post.
1h ago
Marcus Webb commented on your component.
3h ago
Diana Chen mentioned you.
Yesterday
API Reference
| Prop | Type | Default | Description |
|---|---|---|---|
| title* | string | required | Notification heading. |
| description | string | — | Body text. |
| avatar | ReactNode | — | Avatar element. |
| time | string | — | Relative time string. |
| unread | boolean | false | Shows unread indicator dot. |
| onClick | () => void | — | Called when notification is clicked. |