Skip to main content

FileBreadcrumb

Path-aware breadcrumb navigation built on top of Breadcrumb primitives

FileBreadcrumb

Path-aware breadcrumb navigation built on top of Breadcrumb primitives

Source: packages/appkit-ui/src/react/file-browser/file-breadcrumb.tsx

Props

PropTypeRequiredDefaultDescription
rootLabelstring-Label for the root breadcrumb item
segmentsstring[]-Path segments after the root
onNavigateToRoot() => void-Called when the root breadcrumb is clicked
onNavigateToSegment(index: number) => void-Called when a segment breadcrumb is clicked (receives segment index)

Usage

import { FileBreadcrumb } from '@databricks/appkit-ui';

<FileBreadcrumb /* props */ />