0.7.4 gives the Ambient pack weather. A page names one feed URL on its own site, and the pack sets data-weather from it, uses its sunrise and sunset for dawn and dusk, and never shows a stale observation. Helpers for producing the feed from Open-Meteo are included. Ambient p…
Breadcrumb navigation helps users understand their location within a site hierarchy and provides quick access to parent pages. Built with semantic HTML and accessible by default.
Overview
Breadcrumbs use the semantic <nav> element with aria-label="Breadcrumb" and an ordered list (<ol>) to represent the hierarchical structure. The current page is marked with aria-current="page" and rendered as a <span> rather than a link.
Key features:
Semantic HTML with <nav> and <ol> for proper structure
When the breadcrumb trail is long, use data-collapsed to hide middle items. This shows only the first item, an ellipsis indicator, and the last two items.
<navclass="breadcrumb"aria-label="Breadcrumb"><ol><li><ahref="/">Home</a></li><li><ahref="/products/"data-truncated>Very Long Category Name That Needs Truncation</a></li><li><spanaria-current="page">Product</span></li></ol></nav>
CSS Reference
The breadcrumb styles are included in Vanilla Breeze. Here is the CSS for reference:
Base Styles
Breadcrumb base styles
/* Breadcrumb base styles (included in VB) */nav.breadcrumb > ol {display: flex;flex-wrap: wrap;align-items: center;gap: var(--size-2xs);font-size: var(--font-size-s);}nav.breadcrumbli {display: flex;align-items: center;gap: var(--size-2xs);}/* Separator (CSS-generated) */nav.breadcrumbli:not(:last-child)::after {content: var(--_separator, "/");margin-inline-start: var(--size-2xs);color: var(--color-gray-400);}/* Links and current page */nav.breadcrumba,nav.breadcrumbspan {padding: var(--size-xs);color: var(--color-text-muted);text-decoration: none;}nav.breadcrumba:hover {color: var(--color-text);text-decoration: underline;}nav.breadcrumb[aria-current="page"] {color: var(--color-text);font-weight: var(--font-weight-medium);}