267
Channels you can open and tune, per-event email, push and chat toggles grouped under section switches, quiet hours on a small 24-hour track, and a digest line whose item count rolls as you change things.
akaquiet hours·email digest·notification preferences
Run this in any project set up for the shadcn CLI. It copies the Notification Settings source into your components folder, so the code is yours to change.
npx shadcn@latest add https://devl.dev/r/notification-settings.jsonImport it and render it. Every prop has a typed default, so it works straight away, and you pass your own data when you’re ready.
import { NotificationSettings } from "@/components/notification-settings";
export default function Page() {
return <NotificationSettings />;
}A free React screen in the Settings collection, written in TypeScript with Tailwind CSS on coss ui. MIT licensed.
Read from the Notification Settings source. Everything is optional unless it says required.
| Prop | Type | Default |
|---|---|---|
| className | string | — |
| channels | Record<NotifyChannelId, NotifyChannelMode> | defaultChannels |
| sections | NotifySection[] | defaultSections |
| quietHours | NotifyQuietHours | defaultQuiet |
| digest | DigestFrequency | "weekly" |
| onNavigate | (section: SettingsSectionId) => void | — |