Welcome to Vanilla Breeze
This bell pulls live notifications from /go/notify/messages — the same contract documented at /docs/concepts/service-contracts/. Static articles like this one are the no-JS / no-backend fallback.
This bell pulls live notifications from /go/notify/messages — the same contract documented at /docs/concepts/service-contracts/. Static articles like this one are the no-JS / no-backend fallback.
Ready-to-use code snippets for building with Vanilla Breeze.
Snippets are copy-paste ready code patterns that follow Vanilla Breeze conventions. They use the correct token names, layout elements, and progressive enhancement patterns.
Page structure and layout patterns.
Base HTML5 document with header, main, and footer structure.
Collapsible nav via native details/summary. Not an ARIA tree widget.
Content page with sidebar navigation using layout-sidebar.
Accessible form with form-field elements and validation.
Responsive card layout using layout-grid and layout-card.
Hero patterns using layout-cover for vertical centering.
Token configurations and style patterns.
Minimal token setup for new projects with sizes, colors, and typography.
CSS @layer configuration for cascade control.
Theme switching styles using light-dark() and data-mode.
Grid layout patterns with auto-fit and fixed columns.
Type hierarchy with headings, prose, and display text.
Spinner, skeleton, shimmer, and overlay patterns for loading.
Interactive component usage examples.
Accordion patterns with exclusive mode and custom styling.
Tab interface examples with icons, badges, and vertical orientation.
Toast patterns with variants, positions, and JavaScript API.
Native dialog patterns with forms, confirmation, and scrolling.
Dropdown patterns with icons, submenus, and checkmarks.
Slide-in side panel using native dialog with CSS animation.
Select-all checkbox patterns for tables and lists.
Signpost for menu.toolbar, menu.pills, and toggle groups via aria-pressed.
To use a snippet:
All snippets follow these conventions:
--size-* for spacing, --color-* for colorslayout-* custom elements instead of utility classesdata-* attributes for component options