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

dropdown-menu-example.tsx — ui Source File

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

File tsx ComponentRegistry ChartRegistry 7 imports 14 functions

Entity Profile

Dependency Diagram

graph LR
  27bfb7fb_c5ea_fc51_35b4_305b0a010c9a["dropdown-menu-example.tsx"]
  1d141819_425e_b5fd_4c8e_32f7c6a42cf2["react"]
  27bfb7fb_c5ea_fc51_35b4_305b0a010c9a --> 1d141819_425e_b5fd_4c8e_32f7c6a42cf2
  da02b53a_0c1d_d1a1_af31_74d99f1cdd7a["example"]
  27bfb7fb_c5ea_fc51_35b4_305b0a010c9a --> da02b53a_0c1d_d1a1_af31_74d99f1cdd7a
  c189c3c0_a1b8_4ad9_527c_a5af15f8c93a["avatar"]
  27bfb7fb_c5ea_fc51_35b4_305b0a010c9a --> c189c3c0_a1b8_4ad9_527c_a5af15f8c93a
  381135fe_5f7a_910a_b8a2_691e9756a016["button"]
  27bfb7fb_c5ea_fc51_35b4_305b0a010c9a --> 381135fe_5f7a_910a_b8a2_691e9756a016
  ee16c284_c278_b787_3146_67666cbd8485["dialog"]
  27bfb7fb_c5ea_fc51_35b4_305b0a010c9a --> ee16c284_c278_b787_3146_67666cbd8485
  8001cb6e_41cc_4789_e2c4_6c9b6b1cc0bb["dropdown-menu"]
  27bfb7fb_c5ea_fc51_35b4_305b0a010c9a --> 8001cb6e_41cc_4789_e2c4_6c9b6b1cc0bb
  de6fac54_74ca_6c25_8f8b_d1ba3287dbf2["icon-placeholder"]
  27bfb7fb_c5ea_fc51_35b4_305b0a010c9a --> de6fac54_74ca_6c25_8f8b_d1ba3287dbf2
  style 27bfb7fb_c5ea_fc51_35b4_305b0a010c9a fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

"use client"

import * as React from "react"

import {
  Example,
  ExampleWrapper,
} from "@/registry/bases/radix/components/example"
import {
  Avatar,
  AvatarFallback,
  AvatarImage,
} from "@/registry/bases/radix/ui/avatar"
import { Button } from "@/registry/bases/radix/ui/button"
import {
  Dialog,
  DialogContent,
  DialogDescription,
  DialogHeader,
  DialogTitle,
  DialogTrigger,
} from "@/registry/bases/radix/ui/dialog"
import {
  DropdownMenu,
  DropdownMenuCheckboxItem,
  DropdownMenuContent,
  DropdownMenuGroup,
  DropdownMenuItem,
  DropdownMenuLabel,
  DropdownMenuPortal,
  DropdownMenuRadioGroup,
  DropdownMenuRadioItem,
  DropdownMenuSeparator,
  DropdownMenuShortcut,
  DropdownMenuSub,
  DropdownMenuSubContent,
  DropdownMenuSubTrigger,
  DropdownMenuTrigger,
} from "@/registry/bases/radix/ui/dropdown-menu"
import { IconPlaceholder } from "@/app/(create)/components/icon-placeholder"

export default function DropdownMenuExample() {
  return (
    <ExampleWrapper>
      <DropdownMenuBasic />
      <DropdownMenuComplex />
      <DropdownMenuWithIcons />
      <DropdownMenuWithShortcuts />
      <DropdownMenuWithSubmenu />
      <DropdownMenuWithCheckboxes />
      <DropdownMenuWithCheckboxesIcons />
      <DropdownMenuWithRadio />
      <DropdownMenuWithRadioIcons />
      <DropdownMenuWithDestructive />
      <DropdownMenuWithAvatar />
      <DropdownMenuInDialog />
      <DropdownMenuWithInset />
    </ExampleWrapper>
  )
}
// ... (1174 more lines)

Subdomains

Dependencies

  • avatar
  • button
  • dialog
  • dropdown-menu
  • example
  • icon-placeholder
  • react

Frequently Asked Questions

What does dropdown-menu-example.tsx do?
dropdown-menu-example.tsx is a source file in the ui codebase, written in tsx. It belongs to the ComponentRegistry domain, ChartRegistry subdomain.
What functions are defined in dropdown-menu-example.tsx?
dropdown-menu-example.tsx defines 14 function(s): DropdownMenuBasic, DropdownMenuComplex, DropdownMenuExample, DropdownMenuInDialog, DropdownMenuWithAvatar, DropdownMenuWithCheckboxes, DropdownMenuWithCheckboxesIcons, DropdownMenuWithDestructive, DropdownMenuWithIcons, DropdownMenuWithInset, and 4 more.
What does dropdown-menu-example.tsx depend on?
dropdown-menu-example.tsx imports 7 module(s): avatar, button, dialog, dropdown-menu, example, icon-placeholder, react.
Where is dropdown-menu-example.tsx in the architecture?
dropdown-menu-example.tsx is located at apps/v4/registry/bases/radix/examples/dropdown-menu-example.tsx (domain: ComponentRegistry, subdomain: ChartRegistry, directory: apps/v4/registry/bases/radix/examples).

Analyze Your Own Codebase

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

Try Supermodel Free