When there are more than 3 items, the breadcrumb should be collapsed by default and items should be displayed if there's enough space.
The first item and the last 2 items should always be visible.
Core
<nav class="ecl-breadcrumb" aria-label="You are here:" data-ecl-breadcrumb="true" data-ecl-auto-init="Breadcrumb">
<ol class="ecl-breadcrumb__container">
<li class="ecl-breadcrumb__segment" data-ecl-breadcrumb-item="static"><a href="/example"
class="ecl-link ecl-link--standalone ecl-link--no-visited ecl-breadcrumb__link">Home</a><svg
class="ecl-icon ecl-icon--xs ecl-icon--rotate-90 ecl-breadcrumb__icon" focusable="false" aria-hidden="true"
role="presentation">
<use xlink:href="/dist/media/icons.96a6ea95.svg#corner-arrow"></use>
</svg></li>
<li class="ecl-breadcrumb__segment ecl-breadcrumb__segment--ellipsis" data-ecl-breadcrumb-ellipsis=""><button
class="ecl-button ecl-button--ghost ecl-breadcrumb__ellipsis" type="button"
data-ecl-breadcrumb-ellipsis-button="" aria-label="Click to expand">…</button><svg
class="ecl-icon ecl-icon--xs ecl-icon--rotate-90 ecl-breadcrumb__icon" focusable="false" aria-hidden="true"
role="presentation">
<use xlink:href="/dist/media/icons.96a6ea95.svg#corner-arrow"></use>
</svg></li>
<li class="ecl-breadcrumb__segment" data-ecl-breadcrumb-item="expandable"><a href="/example"
class="ecl-link ecl-link--standalone ecl-link--no-visited ecl-breadcrumb__link">About the European Union</a><svg
class="ecl-icon ecl-icon--xs ecl-icon--rotate-90 ecl-breadcrumb__icon" focusable="false" aria-hidden="true"
role="presentation">
<use xlink:href="/dist/media/icons.96a6ea95.svg#corner-arrow"></use>
</svg></li>
<li class="ecl-breadcrumb__segment" data-ecl-breadcrumb-item="expandable"><a href="/example"
class="ecl-link ecl-link--standalone ecl-link--no-visited ecl-breadcrumb__link">Organisational structure</a><svg
class="ecl-icon ecl-icon--xs ecl-icon--rotate-90 ecl-breadcrumb__icon" focusable="false" aria-hidden="true"
role="presentation">
<use xlink:href="/dist/media/icons.96a6ea95.svg#corner-arrow"></use>
</svg></li>
<li class="ecl-breadcrumb__segment" data-ecl-breadcrumb-item="static"><a href="/example"
class="ecl-link ecl-link--standalone ecl-link--no-visited ecl-breadcrumb__link">How the Union is
organised</a><svg class="ecl-icon ecl-icon--xs ecl-icon--rotate-90 ecl-breadcrumb__icon" focusable="false"
aria-hidden="true" role="presentation">
<use xlink:href="/dist/media/icons.96a6ea95.svg#corner-arrow"></use>
</svg></li>
<li class="ecl-breadcrumb__segment ecl-breadcrumb__current-page" data-ecl-breadcrumb-item="static"
aria-current="page">News</li>
</ol>
</nav>
Try it yourself on the playground
PlaygroundHarmonised
<nav class="ecl-breadcrumb" aria-label="You are here:" data-ecl-breadcrumb="true" data-ecl-auto-init="Breadcrumb">
<ol class="ecl-breadcrumb__container">
<li class="ecl-breadcrumb__segment" data-ecl-breadcrumb-item="static"><a href="/example"
class="ecl-link ecl-link--standalone ecl-link--no-visited ecl-breadcrumb__link">Home</a><svg
class="ecl-icon ecl-icon--xs ecl-icon--rotate-90 ecl-breadcrumb__icon" focusable="false" aria-hidden="true"
role="presentation">
<use xlink:href="/dist/media/icons.96a6ea95.svg#corner-arrow"></use>
</svg></li>
<li class="ecl-breadcrumb__segment ecl-breadcrumb__segment--ellipsis" data-ecl-breadcrumb-ellipsis=""><button
class="ecl-button ecl-button--ghost ecl-breadcrumb__ellipsis" type="button"
data-ecl-breadcrumb-ellipsis-button="" aria-label="Click to expand">…</button><svg
class="ecl-icon ecl-icon--xs ecl-icon--rotate-90 ecl-breadcrumb__icon" focusable="false" aria-hidden="true"
role="presentation">
<use xlink:href="/dist/media/icons.96a6ea95.svg#corner-arrow"></use>
</svg></li>
<li class="ecl-breadcrumb__segment" data-ecl-breadcrumb-item="expandable"><a href="/example"
class="ecl-link ecl-link--standalone ecl-link--no-visited ecl-breadcrumb__link">About the European Union</a><svg
class="ecl-icon ecl-icon--xs ecl-icon--rotate-90 ecl-breadcrumb__icon" focusable="false" aria-hidden="true"
role="presentation">
<use xlink:href="/dist/media/icons.96a6ea95.svg#corner-arrow"></use>
</svg></li>
<li class="ecl-breadcrumb__segment" data-ecl-breadcrumb-item="expandable"><a href="/example"
class="ecl-link ecl-link--standalone ecl-link--no-visited ecl-breadcrumb__link">Organisational structure</a><svg
class="ecl-icon ecl-icon--xs ecl-icon--rotate-90 ecl-breadcrumb__icon" focusable="false" aria-hidden="true"
role="presentation">
<use xlink:href="/dist/media/icons.96a6ea95.svg#corner-arrow"></use>
</svg></li>
<li class="ecl-breadcrumb__segment" data-ecl-breadcrumb-item="static"><a href="/example"
class="ecl-link ecl-link--standalone ecl-link--no-visited ecl-breadcrumb__link">How the Union is
organised</a><svg class="ecl-icon ecl-icon--xs ecl-icon--rotate-90 ecl-breadcrumb__icon" focusable="false"
aria-hidden="true" role="presentation">
<use xlink:href="/dist/media/icons.96a6ea95.svg#corner-arrow"></use>
</svg></li>
<li class="ecl-breadcrumb__segment ecl-breadcrumb__current-page" data-ecl-breadcrumb-item="static"
aria-current="page">News</li>
</ol>
</nav>
Try it yourself on the playground
Playground