Simulacrum

Notifications

In-app notification bell, preferences, email fan-out, and extension points per template.

Components

components/notifications ships a bell, panel, and read-state indicators. Data loads through server actions or TanStack Query hooks.

Preferences

Users toggle channels per notification type: email, in-app, or off. Persist preferences per user ID.

Email delivery

When an in-app notification is created, optionally enqueue email via the mailing adapter.

Templates

SaaS, e-commerce, and corporate templates include starter notification types (billing, orders, HR updates).

Rate-limit notification creation to avoid spamming users during bulk admin actions.