Notification Preferences

A notification settings list of labeled switches for email digests, product updates and security alerts. A simple React start for preference pages.

src/registry/ui/notification-preferences.tsx/r/notification-preferences.json

Installation#

bash
npx shadcn@latest add @minidev/notification-preferences

MiniDev UI is in the shadcn registry directory, so the short form works with no setup. Older CLI versions can use the full URL: npx shadcn@latest add https://ui.minidev.pro/r/notification-preferences.json

Usage#

tsx
import { NotificationPreferences } from "@/components/ui/notification-preferences"

export function Example() {
  return <NotificationPreferences />
}

API reference#

NotificationPreferences props
PropTypeDefault
classNamestring-

Dependencies#

npm

React only

Built from

All settings page components

Learn more