Home / File/ dropdown-menu-icons.tsx — ui Source File

dropdown-menu-icons.tsx — ui Source File

Architecture documentation for dropdown-menu-icons.tsx, a tsx file in the ui codebase. 3 imports, 0 dependents.

File tsx DocumentationAtlas Changelog 3 imports 1 functions

Entity Profile

Dependency Diagram

graph LR
  c07fd1e5_0c95_9897_dd14_680403e74372["dropdown-menu-icons.tsx"]
  4b1d2128_46d9_46f0_b915_b6e1925b7876["button"]
  c07fd1e5_0c95_9897_dd14_680403e74372 --> 4b1d2128_46d9_46f0_b915_b6e1925b7876
  c4660ec2_c67c_8de8_aea3_ab3bf7989b6f["dropdown-menu"]
  c07fd1e5_0c95_9897_dd14_680403e74372 --> c4660ec2_c67c_8de8_aea3_ab3bf7989b6f
  d39cd1e4_1b2d_9aa2_1d29_fd0b4bfb61c3["lucide-react"]
  c07fd1e5_0c95_9897_dd14_680403e74372 --> d39cd1e4_1b2d_9aa2_1d29_fd0b4bfb61c3
  style c07fd1e5_0c95_9897_dd14_680403e74372 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

import { Button } from "@/examples/radix/ui/button"
import {
  DropdownMenu,
  DropdownMenuContent,
  DropdownMenuItem,
  DropdownMenuSeparator,
  DropdownMenuTrigger,
} from "@/examples/radix/ui/dropdown-menu"
import {
  CreditCardIcon,
  LogOutIcon,
  SettingsIcon,
  UserIcon,
} from "lucide-react"

export function DropdownMenuIcons() {
  return (
    <DropdownMenu>
      <DropdownMenuTrigger asChild>
        <Button variant="outline">Open</Button>
      </DropdownMenuTrigger>
      <DropdownMenuContent>
        <DropdownMenuItem>
          <UserIcon />
          Profile
        </DropdownMenuItem>
        <DropdownMenuItem>
          <CreditCardIcon />
          Billing
        </DropdownMenuItem>
        <DropdownMenuItem>
          <SettingsIcon />
          Settings
        </DropdownMenuItem>
        <DropdownMenuSeparator />
        <DropdownMenuItem variant="destructive">
          <LogOutIcon />
          Log out
        </DropdownMenuItem>
      </DropdownMenuContent>
    </DropdownMenu>
  )
}

Subdomains

Dependencies

  • button
  • dropdown-menu
  • lucide-react

Frequently Asked Questions

What does dropdown-menu-icons.tsx do?
dropdown-menu-icons.tsx is a source file in the ui codebase, written in tsx. It belongs to the DocumentationAtlas domain, Changelog subdomain.
What functions are defined in dropdown-menu-icons.tsx?
dropdown-menu-icons.tsx defines 1 function(s): DropdownMenuIcons.
What does dropdown-menu-icons.tsx depend on?
dropdown-menu-icons.tsx imports 3 module(s): button, dropdown-menu, lucide-react.
Where is dropdown-menu-icons.tsx in the architecture?
dropdown-menu-icons.tsx is located at apps/v4/examples/radix/dropdown-menu-icons.tsx (domain: DocumentationAtlas, subdomain: Changelog, directory: apps/v4/examples/radix).

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free