Home / Function/ BreadcrumbLink() — ui Function Reference

BreadcrumbLink() — ui Function Reference

Architecture documentation for the BreadcrumbLink() function in breadcrumb.tsx from the ui codebase.

Entity Profile

Dependency Diagram

graph TD
  4316059e_32af_85a1_e712_cf04246f2617["BreadcrumbLink()"]
  fe756285_c2ed_aafe_343e_a9eec2783455["breadcrumb.tsx"]
  4316059e_32af_85a1_e712_cf04246f2617 -->|defined in| fe756285_c2ed_aafe_343e_a9eec2783455
  style 4316059e_32af_85a1_e712_cf04246f2617 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

apps/v4/registry/new-york-v4/ui/breadcrumb.tsx lines 34–50

function BreadcrumbLink({
  asChild,
  className,
  ...props
}: React.ComponentProps<"a"> & {
  asChild?: boolean
}) {
  const Comp = asChild ? Slot.Root : "a"

  return (
    <Comp
      data-slot="breadcrumb-link"
      className={cn("hover:text-foreground transition-colors", className)}
      {...props}
    />
  )
}

Subdomains

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free