Breadcrumb
Neumorphic breadcrumb with the stock shadcn breadcrumb API. Flat muted text with the current page at full contrast.
Installation
bunx --bun shadcn@latest add https://neu.beyondtheinnovation.com/r/neu-breadcrumb.jsonUsage
import {
Breadcrumb,
BreadcrumbItem,
BreadcrumbLink,
BreadcrumbList,
BreadcrumbPage,
BreadcrumbSeparator,
} from "@/components/ui/neu/breadcrumb"<Breadcrumb>
<BreadcrumbList>
<BreadcrumbItem>
<BreadcrumbLink href="/">Home</BreadcrumbLink>
</BreadcrumbItem>
<BreadcrumbSeparator />
<BreadcrumbItem>
<BreadcrumbPage>Breadcrumb</BreadcrumbPage>
</BreadcrumbItem>
</BreadcrumbList>
</Breadcrumb>Custom separator
Pass children to BreadcrumbSeparator to replace the chevron. The default chevron flips in RTL.
<BreadcrumbSeparator>
<SlashIcon />
</BreadcrumbSeparator>Collapsed
BreadcrumbEllipsis stands in for hidden levels; it can be the trigger of a dropdown menu.
Link component
Use asChild on BreadcrumbLink to render your router's link.
<BreadcrumbLink asChild>
<Link href="/">Home</Link>
</BreadcrumbLink>Tabs
Neumorphic tabs on the Radix primitive. The same carved tray as the toggle group: idle triggers sit flat and one raised knob slides to the active one. The line variant keeps the stock underline.
Pagination
Neumorphic pagination with the stock shadcn pagination API, built on the button variants. Pages are ghost buttons and the current one is pressed into the surface; Previous and Next are raised keys that go flat at a dead end.