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:
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>
preview-5491--swisspost-design-system-next.netlify.app/?path=/docs/b7db7391-f893-4b1e-a125-b30c6f0b028b--docs&story=Default#b7db7391-f893-4b1e-a125-b30c6f0b028b--default
/?path=/story/b7db7391-f893-4b1e-a125-b30c6f0b028b--default&full=true
<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>
Name | Description | Default | Control |
---|---|---|---|
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.
preview-5491--swisspost-design-system-next.netlify.app/?path=/docs/b7db7391-f893-4b1e-a125-b30c6f0b028b--docs&story=Concatenated#b7db7391-f893-4b1e-a125-b30c6f0b028b--concatenated
/?path=/story/b7db7391-f893-4b1e-a125-b30c6f0b028b--concatenated&full=true
<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>
Name | Description | Default | Control |
---|---|---|---|
Props | |||
Home URL | URL for the home breadcrumb link. string | - | |
Home Text | Text for the home breadcrumb link. string | - |
<post-breadcrumb-item>
<post-breadcrumb-item url="/section1">Section 1</post-breadcrumb-item>
Name | Description | Default | Control |
---|---|---|---|
Props | |||
URL | The URL of the breadcrumb item. string | - | |
Content | The visible label of the breadcrumb item. string | - |