Navigationsrc/components/ui/breadcrumb.tsx

Breadcrumb

Shows the path to the current page in a hierarchy.

Preview

Installation

Copy the component source into your project with `degit`. This port is intentionally not distributed as an npm package.

bunx degit https://github.com/LiasCode/shadcn-preact/src/components/ui#main ./src/components/ui

Usage

import { Breadcrumb } from "@/components/ui/breadcrumb"

export function Example() {
  return <Breadcrumb>Breadcrumb</Breadcrumb>
}

API Reference

ExportPurpose
BreadcrumbComposable part exported by `@/components/ui/breadcrumb`.