docs/developer_docs/components/ui/breadcrumb.mdx
import { StoryWithControls } from '../../../src/components/StorybookWrapper';
Breadcrumb component for displaying navigation paths.
<StoryWithControls component="Breadcrumb" props={{ items: [ { title: "Home", href: "/" }, { title: "Library", href: "/library" }, { title: "Data" } ], separator: "/" }} controls={[ { name: "separator", label: "Separator", type: "text", description: "Custom separator between items" } ]} />
Edit the code below to experiment with the component:
function Demo() {
return (
<Breadcrumb
items={[
{ title: 'Home', href: '/' },
{ title: 'Library', href: '/library' },
{ title: 'Data' },
]}
separator="/"
/>
);
}
import { Breadcrumb } from '@superset/components';
:::tip[Improve this page] This documentation is auto-generated from the component's Storybook story. Help improve it by editing the story file. :::