Carregando…
Carregando…
Carregando…Bell icon button with badge count and notification list dropdown.
Bell with unread badge + panel
No unread notifications
$ npx kikitocn add notification-bellimport { NotificationBell } from "@/components/ui/cn/notification-bell/NotificationBell";
export function NotificationBellExample() {
return (
<NotificationBell />
);
}| Prop | Tipo | Padrão | Descrição |
|---|---|---|---|
notifications | Notification[] | — | Lista de notificações |
onRead | (id: string) => void | — | Callback ao marcar como lida |
onReadAll | () => void | — | Callback ao marcar todas como lidas |
onDismiss | (id: string) => void | — | Callback ao descartar |
maxVisible | number | 20 | Máximo de notificações visíveis |
className | string | — | Classes CSS extras |
style | CSSProperties | — | Estilos inline pro botão do sino |