Vanilla Breeze v0.7.4

Vanilla Breeze v0.7.4 released

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…

Read the release notes

Web Components

JavaScript-enhanced components with progressive enhancement. Most components work without JavaScript and are enhanced when JS is available.

Web components are VB's enhancement layer. Every component wraps a native HTML fallback — an <accordion-wc> contains <details> elements, a <tab-set> starts as a list of links, a <combo-box> wraps a regular <input> and <datalist>. Before JavaScript loads, the page still works.

VB web components use the light DOM exclusively — no Shadow DOM, no framework dependencies, no bundler required. Styles come from VB's CSS, and the components enhance semantic markup that is already in your HTML. This keeps the DOM inspectable, styleable, and accessible by default.

Components that participate in forms use the Form-Associated Custom Elements API to integrate with native form submission, validation, and reset — no hidden inputs required.

Components by Category

Forms & Input (12)

<color-picker>

Full color space picker with HSL area, hue slider, text inputs, swatches, and EyeDropper

<combo-box>

Autocomplete combobox with single-select and multi-select tag modes

<date-picker>

Calendar date picker with month navigation, keyboard support, and form association

<drop-down>

Dropdown menu with keyboard navigation

<emoji-picker>

Emoji picker with search, categories, and insertion

<form-field>

Accessible form field wrapper with validation, custom messages, and error summaries

<slide-accept>

Slide-to-confirm interaction with drag handle and spring-back

<poll-wc>

Voting + live results with single/multi-choice and closed state; presentational, mirrors reaction-bar author-owned-state pattern

<progress-tracker>

Multi-step progress bar for wizards / checkout / onboarding; status per step (complete/current/upcoming/error)

<star-rating>

Star rating widget with CSS-only selection and form association

<stepper-wc>

Stepper for formatted units, currency, time, token-snap scales, and discrete enums (use data-stepper for plain numbers)

<time-picker>

Spinbutton time input with 12h/24h format and form association

Content & Layout (10)

<accordion-wc>

Collapsible content sections

<activity-feed>

WAI-ARIA Feed timeline of user actions with relative timestamps; optional date grouping and infinite-scroll sentinel

<card-list>

Template-based list rendering with safe data binding

<carousel-wc>

Scroll carousel with controls and autoplay

<compare-surface>

Before/after image comparison slider with drag handle and keyboard support

<content-swap>

Two-face content toggle with flip, fade, slide, and scale transitions

<drag-surface>

Drag-and-drop reordering surface

<image-gallery>

Thumbnail grid with lightbox viewer, swipe, keyboard nav, and View Transitions

<split-surface>

Resizable panel splitter with drag divider

<tab-set>

Tabbed interface component

Navigation & Menus (10)

<bread-crumb>

Hierarchical navigation trail. HTML-first <ol> wrap or auto-from-pathname; emits BreadcrumbList JSON-LD

<command-palette>

Cmd+K command palette with search and actions

<context-menu>

Right-click context menu with keyboard navigation

<nav-bar>

Top-level site/app nav primitive with auto aria-current sync (HTML-first or .items setter)

<page-toc>

Table of contents generator

<page-tour>

Progressive-enhancement guided tour with spotlight overlay and action gating

<pager-wc>

Pagination controls for any [data-paged] container

<pop-over>

General-purpose anchored popover container with CSS Anchor Positioning + JS fallback

<short-cuts>

Keyboard shortcuts help overlay

<site-search>

Search dialog component

Data & Visualization (9)

<analytics-panel>

On-device view of captured analytics with Pause and Clear controls

<chart-wc>

SVG chart component with progressive table-to-SVG enhancement

<data-table>

Enhanced data tables with sorting and filtering

<diagram-wc>

Mermaid diagram renderer with VB token theming and lazy loading

<flow-diagram>

SVG flow diagram renderer for process and workflow visualization

<geo-map>

Static map tiles with marker and address caption

<image-map>

Interactive image map with hotspots

<qr-code>

QR code generator with progressive enhancement

<score-card>

KPI tile: headline value, change indicator and optional sparkline

Calendar & Scheduling (3)

<calendar-wc>

Calendar display with events, selection, and range highlighting

<day-view>

Daily schedule view with time slots and event rendering

<week-view>

Weekly calendar view with time grid and event positioning

Text & Annotation (12)

<ai-summary>

Summarize wrapped content with the browser Summarizer API and fallbacks

<comment-wc>

Collaborative commenting component for text annotations

<foot-notes>

Inline footnotes with popup

<heading-links>

Auto-generate heading anchors

<highlight-wc>

Text highlighting tool with color palette for selection-menu integration

<markdown-editor>

Side-by-side markdown editor with live preview

<markdown-viewer>

Render markdown with progressive enhancement and theme integration

<note-wc>

Annotation note component for selection-menu and page-level contexts

<reader-view>

Immersive reading shell with scroll and paged modes

<reading-progress>

Fixed scroll-progress bar for long pages

<selection-menu>

Floating toolbar on text selection for highlighting, sharing, and annotating

<text-reader>

Text-to-speech reader with word-level highlighting

Media (5)

<audio-player>

Custom audio player with playlist support

<audio-visualizer>

Audio frequency visualization

<social-embed>

Privacy-first social content embed with click-to-activate

<video-player>

Video player with overlay controls, captions, fullscreen, and playlist

<youtube-player>

Privacy-first YouTube embed with facade pattern — zero iframe bytes until click

Chat & Communication (3)

<ai-chat>

On-device chat via the browser LanguageModel API, optionally page-aware

<chat-input>

Chat message input with send button

<chat-window>

Chat conversation window

Feedback & Notifications (5)

<consent-banner>

Cookie consent banner with accept/decline

<notification-wc>

Dismissible banner or bell-icon panel with notification history and read tracking

<status-wc>

Visual state indicator: live/recording (pulse), online/offline/away/busy, running/paused/stopped, error. 11 built-in variants + CSS-only extension surface.

<toast-msg>

Non-blocking notifications

<tool-tip>

Contextual tooltips

Site Infrastructure (29)

<author-index>

Author-grouped view of site content

<brand-mark>

Logo display with dark mode, compact variant, and stacked layout

<change-set>

Change tracking group with toggle between tracking, final, and original views

<comment-box>

Form-associated comment form composing markdown-editor + Submit/Cancel; presentational with respect to persistence

<comment-thread>

Threaded discussion container; decorates author-rendered <article data-comment> children with header, action row, threaded indentation; composes comment-box for reply form

<content-lens>

Universal switchable host for VB lens components

<glossary-index>

Interactive glossary with live search and scroll-spy letter tracking

<glossary-wc>

Alphabetical glossary with search filtering and jump navigation

<icon-wc>

Icon component with Lucide, Phosphor, Tabler, Bold, and Mage icon sets

<include-file>

Load remote HTML fragments with progressive enhancement

<page-info>

Document provenance disclosure with trust badges and authorship

<page-stats>

Reading statistics with word count, reading time, and last-modified date

<page-tools>

Configurable toolbar for page-level utilities with responsive FAB collapse

<popularity-index>

Aggregated most-visited lens (degrades when endpoint unavailable)

<print-page>

Print button with raw-mode toggle

<reaction-bar>

GitHub-style emoji reaction picker with persistent chips and a curated palette popover

<recently-visited>

Device-local reader history (localStorage, never aggregated)

<settings-panel>

Theme/settings panel with gear trigger and details accordion

<share-wc>

Social share with native Web Share API and platform fallbacks

<social-links>

Profile links with CSS-drawn icons, written by Cook at build time

<social-feed>

Mixed Bluesky, Mastodon and GitHub stream in a scrolling region, built by Cook and refreshed in the browser

<site-index>

Site keyword index with search filtering

<site-map>

Sitemap enhancer (expand/collapse) or interactive IA tree via mode="ia-tree"

<theme-picker>

Theme picker for colors, typography, and accessibility settings

<time-index>

Changelog/timeline with relative dates and version filtering

<topic-map>

SKOS-aware concept tree from vocabulary.json + pages.json

<trust-filter>

Filter pages by provenance, review level, status, and signed state

<version-switcher>

Surface and switch between versions of a page over time. Two modes (release versions / per-page history); navigate action (Phase 1)

<watch-wc>

Watch-this-page toggle (icon, compact or full button) wrapping data-watch-page

Related

All Elements

Complete element index

Custom Elements

CSS-only layout primitives

Native Elements

Standard HTML5 elements

Form Association

ElementInternals API guide

↑