Home / Function/ BreadcrumbWithDropdown() — ui Function Reference

BreadcrumbWithDropdown() — ui Function Reference

Architecture documentation for the BreadcrumbWithDropdown() function in breadcrumb-dropdown.tsx from the ui codebase.

Entity Profile

Dependency Diagram

graph TD
  03bfe8f7_b19e_b348_7fc5_cf75d94e3f15["BreadcrumbWithDropdown()"]
  c32964cc_7980_1da2_8e9c_0a72e2377ffd["breadcrumb-dropdown.tsx"]
  03bfe8f7_b19e_b348_7fc5_cf75d94e3f15 -->|defined in| c32964cc_7980_1da2_8e9c_0a72e2377ffd
  style 03bfe8f7_b19e_b348_7fc5_cf75d94e3f15 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

apps/v4/registry/new-york-v4/examples/breadcrumb-dropdown.tsx lines 19–53

export default function BreadcrumbWithDropdown() {
  return (
    <Breadcrumb>
      <BreadcrumbList>
        <BreadcrumbItem>
          <BreadcrumbLink asChild>
            <Link href="/">Home</Link>
          </BreadcrumbLink>
        </BreadcrumbItem>
        <BreadcrumbSeparator>
          <SlashIcon />
        </BreadcrumbSeparator>
        <BreadcrumbItem>
          <DropdownMenu>
            <DropdownMenuTrigger className="flex items-center gap-1 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-3.5">
              Components
              <ChevronDownIcon />
            </DropdownMenuTrigger>
            <DropdownMenuContent align="start">
              <DropdownMenuItem>Documentation</DropdownMenuItem>
              <DropdownMenuItem>Themes</DropdownMenuItem>
              <DropdownMenuItem>GitHub</DropdownMenuItem>
            </DropdownMenuContent>
          </DropdownMenu>
        </BreadcrumbItem>
        <BreadcrumbSeparator>
          <SlashIcon />
        </BreadcrumbSeparator>
        <BreadcrumbItem>
          <BreadcrumbPage>Breadcrumb</BreadcrumbPage>
        </BreadcrumbItem>
      </BreadcrumbList>
    </Breadcrumb>
  )
}

Subdomains

Frequently Asked Questions

What does BreadcrumbWithDropdown() do?
BreadcrumbWithDropdown() is a function in the ui codebase, defined in apps/v4/registry/new-york-v4/examples/breadcrumb-dropdown.tsx.
Where is BreadcrumbWithDropdown() defined?
BreadcrumbWithDropdown() is defined in apps/v4/registry/new-york-v4/examples/breadcrumb-dropdown.tsx at line 19.

Analyze Your Own Codebase

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

Try Supermodel Free