Breadcrumb API
Every prop of the 7 parts Breadcrumb exports, generated from the package manifest.
import { Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator } from '@oceanic-hub/brand-system'- Layer
- core — shadcn-derived primitives.
- Exports
- Breadcrumb · BreadcrumbEllipsis · BreadcrumbItem · BreadcrumbLink · BreadcrumbList · BreadcrumbPage · BreadcrumbSeparatortypes: BreadcrumbEllipsisProps · BreadcrumbItemProps · BreadcrumbLinkProps · BreadcrumbListProps · BreadcrumbPageProps · BreadcrumbProps · BreadcrumbSeparatorProps
- Contract
- packages/brand-system/src/components/breadcrumb.contract.test-d.ts
- Demos
- 5 on the Breadcrumb page — rendered live, hydrated
- Source
- packages/brand-system/src/components/breadcrumb.tsx
Generated from manifest/component-manifest.json, so it cannot drift from the source. For what Breadcrumb is for, how it composes and what it looks like, see Breadcrumb.
Breadcrumb
A styled <nav> with no API of its own. It takes that element's standard attributes — className, event handlers, ref — and nothing else.
BreadcrumbEllipsis
A styled <span> with no API of its own. It takes that element's standard attributes — className, event handlers, ref — and nothing else.
BreadcrumbItem
A styled <li> with no API of its own. It takes that element's standard attributes — className, event handlers, ref — and nothing else.
BreadcrumbLink
BreadcrumbLinkProps
Prop
Type
Also accepts everything from React.ComponentPropsWithoutRef<'a'>.
BreadcrumbList
A styled <ol> with no API of its own. It takes that element's standard attributes — className, event handlers, ref — and nothing else.
BreadcrumbPage
A styled <span> with no API of its own. It takes that element's standard attributes — className, event handlers, ref — and nothing else.
BreadcrumbSeparator
A styled <li> with no API of its own. It takes that element's standard attributes — className, event handlers, ref — and nothing else.