StealThis .dev

Wiki — Breadcrumb + Related Links

A docs-style wayfinding cluster for a deep reference page. A breadcrumb trail (Home › Guides › Security › Authentication › OAuth 2.0) links every intermediate level, marks the current page, collapses its middle into an expandable ellipsis when space runs out, and exposes a keyboard-accessible sibling switcher on the current crumb. Below sits a related-articles card grid and a previous/next pager with real titles, plus a scroll-spy table of contents — all self-contained vanilla JS.

Abrir no Lab
html css vanilla-js
Targets: JS HTML

Code

A wayfinding cluster for a deep documentation page, modeled on developer reference sites. The breadcrumb trail walks Home › Guides › Security › Authentication › OAuth 2.0, where every intermediate level is a link and the final crumb is the current page. When the viewport gets too narrow the middle of the trail collapses into a single button; pressing it expands the hidden levels in place and moves focus to the first revealed link. The current crumb doubles as a sibling switcher — open it to jump to neighbouring pages like API keys, SAML SSO, or Scoped tokens.

That switcher is a real ARIA menu: open it with a click, Enter, Space, or the arrow keys, walk the items with and , jump with Home and End, and close with Esc or an outside click. Choosing a sibling updates the live crumb label and confirms with a toast. Beneath the article, a related-articles card grid and a previous/next pager carry real titles, while a sticky right-rail table of contents highlights the section you are reading.

Everything is plain HTML, CSS, and vanilla JS with no dependencies. Inter drives the chrome, a serif handles long-form prose, and JetBrains Mono renders code and keyboard hints. The layout reflows down to about 360px — the sidebar becomes an inline panel, the pager and related cards stack, and hover, active, and focus states stay visible throughout.

Illustrative UI only — fictional articles, products, and data.