BlockDex

Components

Registries

Free blocks

Method

BlockDex

Components

Registries

Free blocks

Method

Open API

BlockDex

Components

Registries

Free blocks

Method

Open API

Components/muffled-ui-registry/breadcrumb

Breadcrumb

muffled-ui-registry/breadcrumb
FreeComponent

Hierarchical page trail with links, separators, and ellipsis.

Live preview

live · rendered by the registry
Rendered by muffled-ui-registry on their own page — this is the component running, not a screenshot of it.

Install it

npx shadcn@latest add https://ui.muffled.studio/r/breadcrumb.json

Source

registry/ui/breadcrumb.tsxui.muffled.studio/r/breadcrumb.json
1import * as React from "react"
2import { mergeProps } from "@base-ui/react/merge-props"
3import { useRender } from "@base-ui/react/use-render"
4import { ChevronRightIcon, MoreHorizontalIcon } from "lucide-react"
5
6import { cn } from "@/registry/lib/surface"
7
8function Breadcrumb({ className, ...props }: React.ComponentProps<"nav">) {
9 return (
10 <nav
11 aria-label="breadcrumb"
12 data-slot="breadcrumb"
13 className={cn(className)}
14 {...props}
15 />
16 )
17}
18
19function BreadcrumbList({ className, ...props }: React.ComponentProps<"ol">) {
20 return (
21 <ol
22 data-slot="breadcrumb-list"
23 className={cn(
24 "flex flex-wrap items-center gap-1.5 text-sm wrap-break-word text-muted-foreground",
25 className
26 )}
27 {...props}
28 />
29 )
30}
31
32function BreadcrumbItem({ className, ...props }: React.ComponentProps<"li">) {
33 return (
34 <li
35 data-slot="breadcrumb-item"
36 className={cn("inline-flex items-center gap-1", className)}
37 {...props}
38 />
39 )
40}
41
42function BreadcrumbLink({
43 className,
44 render,
45 ...props
46}: useRender.ComponentProps<"a">) {
47 return useRender({
48 defaultTagName: "a",
49 props: mergeProps<"a">(
50 {
51 className: cn("transition-colors hover:text-foreground", className),
52 },
53 props
54 ),
55 render,
56 state: {
57 slot: "breadcrumb-link",
58 },
59 })
60}
61
62function BreadcrumbPage({ className, ...props }: React.ComponentProps<"span">) {
63 return (
64 <span
65 data-slot="breadcrumb-page"
66 role="link"
67 aria-disabled="true"
68 aria-current="page"
69 className={cn("font-normal text-foreground", className)}
70 {...props}
71 />
72 )
73}
74
75function BreadcrumbSeparator({
76 children,
77 className,
78 ...props
79}: React.ComponentProps<"li">) {
80 return (
81 <li
82 data-slot="breadcrumb-separator"
83 role="presentation"
84 aria-hidden="true"
85 className={cn("[&>svg]:size-3.5", className)}
86 {...props}
87 >
88 {children ?? (
89 <ChevronRightIcon />
90 )}
91 </li>
92 )
93}
94
95function BreadcrumbEllipsis({
96 className,
97 ...props
98}: React.ComponentProps<"span">) {
99 return (
100 <span
101 data-slot="breadcrumb-ellipsis"
102 role="presentation"
103 aria-hidden="true"
104 className={cn(
105 "flex size-5 items-center justify-center [&>svg]:size-4",
106 className
107 )}
108 {...props}
109 >
110 <MoreHorizontalIcon
111 />
112 <span className="sr-only">More</span>
113 </span>
114 )
115}
116
117export {
118 Breadcrumb,
119 BreadcrumbList,
120// … truncated

What it pulls in

npm packages

  • @base-ui/react
  • lucide-react

Other registry items

  • @muffled/surface

Files it writes

  • registry/ui/breadcrumb.tsx

Facts

Registry
muffled-ui-registry
Type
registry:ui
Access
Free
Files written
1
Licence
the repository states none
First indexed
2026-08-02
Last confirmed
yesterday

Go to the source

Docs on muffled-ui-registry ui.muffled.studio muffled-studio/muffled.ui on GitHub Raw registry item This item as JSON

More from muffled-ui-registry

All 55 items
Same registry, same kind — the ones you would have found next
ComponentRegistryKindAccessInstallsCommand
Accordionaccordionmuffled-ui-registryComponentsFree2 deps
Alertalertmuffled-ui-registryComponentsFree1 dep
Alert Dialogalert-dialogmuffled-ui-registryComponentsFree1 dep
Avataravatarmuffled-ui-registryComponentsFree1 dep
Badgebadgemuffled-ui-registryComponentsFree2 deps
Buttonbuttonmuffled-ui-registryComponentsFree2 deps
Button Groupbutton-groupmuffled-ui-registryComponentsFree2 deps
Calendarcalendarmuffled-ui-registryComponentsFree2 deps
BlockDex

Built by

Kynth Studio

Index

Components
Registries
Method
Open API

Guides

shadcn component libraries
Best shadcn registries
Free shadcn blocks

Reference

Corpus counts
Crawl health
hello@kynth.studio
Privacy
Terms

BlockDex

BlockDex

Built by

Kynth Studio

Index

Components
Registries
Method
Open API

Guides

shadcn component libraries
Best shadcn registries
Free shadcn blocks

Reference

Corpus counts
Crawl health
hello@kynth.studio
Privacy
Terms

BlockDex

BlockDex

Built by

Kynth Studio

Index

Components
Registries
Method
Open API

Guides

shadcn component libraries
Best shadcn registries
Free shadcn blocks

Reference

Corpus counts
Crawl health
hello@kynth.studio
Privacy
Terms

BlockDex