{ "$schema": "https://ui.shadcn.com/schema/registry-item.json", "name": "account-notifications-01", "type": "registry:block", "description": "Notification preferences management", "registryDependencies": [ "button", "card", "switch" ], "files": [ { "path": "creative-tim-ui/blocks/account-notifications-01/page.tsx", "content": "\"use client\"\n\nimport { Bell, Mail, MessageSquare, Smartphone } from \"lucide-react\"\n\nimport { Card } from \"@/components/ui/card\"\nimport { Label } from \"@/components/ui/label\"\nimport { Switch } from \"@/components/ui/switch\"\n\nconst TABLE_HEAD = [\n { label: \"Activity\", icon: Bell },\n { label: \"Email\", icon: Mail },\n { label: \"Push\", icon: Smartphone },\n { label: \"SMS\", icon: MessageSquare },\n]\n\nconst NOTIFICATIONS = [\n {\n title: \"Mentions\",\n description: \"Notify when another user mentions you in a comment\",\n category: \"Social\",\n email: true,\n push: false,\n sms: true,\n },\n {\n title: \"Comments\",\n description: \"Notify when another user comments on your item\",\n category: \"Social\",\n email: true,\n push: false,\n sms: true,\n },\n {\n title: \"New Follower\",\n description: \"Notify when someone starts following you\",\n category: \"Social\",\n email: false,\n push: true,\n sms: false,\n },\n {\n title: \"Login Activity\",\n description: \"Alert when logging in from a new device or location\",\n category: \"Security\",\n email: true,\n push: true,\n sms: true,\n },\n {\n title: \"Password Changed\",\n description: \"Immediate notification when password is updated\",\n category: \"Security\",\n email: true,\n push: true,\n sms: true,\n },\n {\n title: \"Product Updates\",\n description: \"Get notified about new features and improvements\",\n category: \"Product\",\n email: true,\n push: false,\n sms: false,\n },\n]\n\nexport default function AccountNotifications01() {\n return (\n
\n Customize how you receive notifications. These settings apply to all\n activities you're monitoring across the platform.\n
\n| \n \n \n | \n )\n })}\n |||
|---|---|---|---|
| \n \n \n \n \n {notification.title} \n \n {notification.category}\n \n\n {notification.description}\n \n | \n \n \n \n | \n \n \n \n | \n \n \n \n | \n
\n Email notifications are sent instantly. Push notifications\n require the mobile app. SMS notifications may incur carrier\n charges. You can change these settings at any time.\n
\n