import { Meta, Story, Primary, Controls } from "@storybook/addon-docs";
import * as stories from "./breadcrumbs.stories";
# Breadcrumbs
Breadcrumbs are used to help users understand where they are in a products navigation. Typically
Bitwarden uses this component to indicate the user's current location in a set of data organized in
containers (Collections, Folders, or Projects).
## Display
Breadcrumbs display above the page title. The current page should not appear as a breadcrumb link.
See [Header with Breadcrumbs](?path=/story/web-header--with-breadcrumbs).
### Top Level
When a user is 1 level deep into a tree, the top level is displayed as a single link above the page
title.
### Second Level
When a user is 2 or more levels deep into a tree, the top level is displayed followed by an
icon, and the following pages.
### Overflow
When a user is several levels deep into a tree, the top level or 2 are displayed followed by an
icon button, and then the page directly above the current page.
When the user selects the icon button, a menu opens displaying
the pages between the top level and the previous page.
### Small screens
If a screen's width is not large enough to display the full breadcrumb path, display a link to the
previous page and an icon to take the user back to the previous
page.
`TODO:` [Jira add stories](https://bitwarden.atlassian.net/browse/CL-102) for responsive screen
width/small screens