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 · 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.
-
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>.
-
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>.
-
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.
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.
- 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.
- Layout attributes. Add
data-layout and its modifiers to the elements you already have. No wrapper elements and no utility classes.
- 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.
- 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 →