No Preview

Sorry, but you either have no stories or none are selected somehow.

If the problem persists, check the browser console, or the terminal you've run Storybook from.

The component failed to render properly, likely due to a configuration issue in Storybook. Here are some common causes and how you can address them:

  1. Missing Context/Providers: You can use decorators to supply specific contexts or providers, which are sometimes necessary for components to render correctly. For detailed instructions on using decorators, please visit the Decorators documentation.
  2. Misconfigured Webpack or Vite: Verify that Storybook picks up all necessary settings for loaders, plugins, and other relevant parameters. You can find step-by-step guides for configuring Webpack or Vite with Storybook.
  3. Missing Environment Variables: Your Storybook may require specific environment variables to function as intended. You can set up custom environment variables as outlined in the Environment Variables documentation.

This is a pre-release version and is not production ready. For new and ongoing projects, please refer to the latest Design System version.

The breadcrumbs is a secondary navigation pattern that helps users understand the hierarchy among levels and navigate back through them.

The <post-breadcrumbs> is a container for <post-breadcrumb-item> components, used to display a navigational trail, showing the user's location within the app and enabling quick access to parent pages.

<post-breadcrumbs>

Section 1 Section 2 Section 3
<post-breadcrumbs home-url="/" home-text="Home"> <post-breadcrumb-item url="/section1">Section 1</post-breadcrumb-item> <post-breadcrumb-item url="/section2">Section 2</post-breadcrumb-item> <post-breadcrumb-item url="/section3">Section 3</post-breadcrumb-item> </post-breadcrumbs>
NameDescriptionDefaultControl
Props
Home URL
URL for the home breadcrumb link.
string
-
Home Text
Text for the home breadcrumb link.
string
-

When space is constrained, the <post-breadcrumbs> concatenates middle items into a dropdown menu.

Section 1 Section 2 Section 3 Section 4 Section 5 Section 6 Section 7 Section 8 Section 9 Section 10
<post-breadcrumbs home-url="/" home-text="Home"> <post-breadcrumb-item url="/section1">Section 1</post-breadcrumb-item> <post-breadcrumb-item url="/section2">Section 2</post-breadcrumb-item> <post-breadcrumb-item url="/section3">Section 3</post-breadcrumb-item> <post-breadcrumb-item url="/section4">Section 4</post-breadcrumb-item> <post-breadcrumb-item url="/section5">Section 5</post-breadcrumb-item> <post-breadcrumb-item url="/section6">Section 6</post-breadcrumb-item> <post-breadcrumb-item url="/section7">Section 7</post-breadcrumb-item> <post-breadcrumb-item url="/section8">Section 8</post-breadcrumb-item> <post-breadcrumb-item url="/section9">Section 9</post-breadcrumb-item> <post-breadcrumb-item url="/section10">Section 10</post-breadcrumb-item> </post-breadcrumbs>
NameDescriptionDefaultControl
Props
Home URL
URL for the home breadcrumb link.
string
-
Home Text
Text for the home breadcrumb link.
string
-

<post-breadcrumb-item>

Section 1
<post-breadcrumb-item url="/section1">Section 1</post-breadcrumb-item>
NameDescriptionDefaultControl
Props
URL
The URL of the breadcrumb item.
string
-
Content
The visible label of the breadcrumb item.
string
-