"use client" import * as React from "react" import { Button } from "@/examples/base/ui/button" import { DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, } from "@/examples/base/ui/dropdown-menu" import { BellIcon, CreditCardIcon, DownloadIcon, EyeIcon, FileCodeIcon, FileIcon, FileTextIcon, FolderIcon, FolderOpenIcon, FolderSearchIcon, HelpCircleIcon, KeyboardIcon, LanguagesIcon, LayoutIcon, LogOutIcon, MailIcon, MonitorIcon, MoonIcon, MoreHorizontalIcon, PaletteIcon, SaveIcon, SettingsIcon, ShieldIcon, SunIcon, UserIcon, } from "lucide-react" export function DropdownMenuComplex() { const [notifications, setNotifications] = React.useState({ email: true, sms: false, push: true, }) const [theme, setTheme] = React.useState("light") return ( }> Complex Menu File New File ⌘N New Folder ⇧⌘N Open Recent Recent Projects Project Alpha Project Beta More Projects Project Gamma Project Delta Browse... Save ⌘S Export ⇧⌘E View setNotifications({ ...notifications, email: checked === true }) } > Show Sidebar setNotifications({ ...notifications, sms: checked === true }) } > Show Status Bar Theme Appearance Light Dark System Account Profile ⇧⌘P Billing Settings Preferences Keyboard Shortcuts Language Notifications Notification Types setNotifications({ ...notifications, push: checked === true, }) } > Push Notifications setNotifications({ ...notifications, email: checked === true, }) } > Email Notifications Privacy & Security Help & Support Documentation Sign Out ⇧⌘Q ) }