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

Tutorials

Four short builds. Each one makes a real page and adds Vanilla Breeze one layer at a time, so you see what every layer is for and where you can stop.

Pick a tutorial

They run in order from the simplest page to the most involved, but each one stands alone. Every tutorial takes about 15 minutes and shows the page after each step.

  1. 1 · about 15 minutes

    Landing page

    A header, a hero, a features grid, three pricing plans and a footer. Layout attributes and two CSS-only elements do the work, and the page ships no JavaScript.

    Start the landing page →
  2. 2 · about 15 minutes

    Dashboard

    KPI tiles, a chart and a sortable table. Starts from real tables, then adds <layout-card>, <chart-wc> and <data-table>.

    Start the dashboard →
  3. 3 · about 15 minutes

    Contact form

    An accessible form with native validation, clear error messages and a success message, built around <form-field> and <toast-msg>.

    Start the contact form →
  4. 4 · about 15 minutes

    Blog post

    A long-form article with a comfortable reading width, a byline, tags, collapsible further reading and a generated table of contents.

    Start the blog post →

How every tutorial is structured

The same four layers, in the same order. Each layer is optional: a page stops at the last one it needs, and the landing page stops at the third.

  1. Semantic HTML. Write the content with native elements such as <header>, <section>, <form> and <table>. With the stylesheet linked, this already reads as a finished document.
  2. Layout attributes. Add data-layout and its modifiers to the elements you already have. No wrapper elements and no utility classes.
  3. Custom elements. Use CSS-only elements such as <layout-card> and <form-field> where a part of the page needs a shape or a structure an attribute can't give it.
  4. Web components. Add <data-table>, <chart-wc> or <toast-msg> only where the page needs behavior that HTML and CSS can't provide. The page still works when the script doesn't load.

Before you start

You need a text editor and a browser. There is nothing to install and no build step: each tutorial starts from one HTML file that links the Vanilla Breeze stylesheet. If you haven't used Vanilla Breeze before, the Quick Start covers the same ground on a single page in ten minutes.

Start with the landing page →

↑