Skip to content

Breadcrumbs

A path of crumbs split by thin slashes, the current page in full text colour and not a link.

Download
Customize

A pointed-at crumb brightens to full text colour; a path too long for its width folds its middle into a quiet … that opens a menu of the hidden levels.

Install

npx shadcn@latest add https://obsydeui.com/r/breadcrumbs.json

Usage

Import it from where the CLI puts it, or copy the files below by hand.

import { Breadcrumbs } from '@/components/obsyde/ember/breadcrumbs/Breadcrumbs';

export function Example() {
  return (
    <Breadcrumbs />
  );
}

Files

Plain React, TypeScript and CSS. No dependencies. The download keeps these paths.

  • ember/breadcrumbs/Breadcrumbs.tsxcomponent
  • ember/breadcrumbs/breadcrumbs.cssstyles
  • ember/breadcrumbs/BreadcrumbsDemo.tsxdemo
  • ember/display-kit/place.tsshared
  • ember/display-kit/highlight.tsshared
  • ember/shared/spring.tsshared
  • ember/shared/accent.tsshared
  • ember/display-kit/display-kit.cssshared
  • ember/display-kit/motion.tsshared
  • ember/basics-kit/kit.tsshared
  • ember/shared/ember.cssshared

API

PropTypeDefault
accentAccent'ember' | 'volt' | 'arc''ember'
pathPathstring'Ember / Navigation / Breadc…'
maxVisibleMax visiblenumber4