
N° 0969 · nav
Collapsing Breadcrumbs is a keyboard navigation menu. It responds to menu and keyboard. Palettes: Plinth, Kraft, Proof, Rose and Sage.
nav[aria-label=Breadcrumb] > ol: the first crumb, an li.bc-more holding the ellipsis button and its menu, then the rest. On load and on every ResizeObserver callback, cached crumb widths (measured with everything visible, re-measured after document.fonts.ready) are summed; while the sum plus the ellipsis width exceeds the list's width, crumbs are hidden from index 1 upward, never the last. The menu lists the hidden crumbs as links indented 14 px per level; the button's label says how many levels it holds. The current crumb has min-width: 0 and text-overflow: ellipsis as the last resort. Separators are an inline SVG chevron in each li after the first.
The preview is the shipped element inside a neutral demo page. Hover, click, focus: the one interaction it is about is live.
Token sets re-tint it live. The prompt carries the one you chose.
A paste-in snippet, or a component for Next.js, React, Vue, Astro, WordPress, Shopify or Webflow.
It quotes the markup, styles and script verbatim with the tokens and the rules that keep it self-contained.
It inherits your page's font and width; the tokens live on :root; several instances share one script.

N° 0969 · nav

N° 0968 · nav

N° 0821 · nav

N° 0820 · nav

N° 0819 · nav

N° 0424 · nav

N° 0425 · nav

N° 0426 · nav

N° 0804 · cursor

N° 0828 · loader

N° 0826 · loader

N° 0816 · overlay

N° 0814 · overlay

N° 0819 · nav

N° 0427 · nav

N° 0430 · nav