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…
The tfoot element groups footer rows of a table. Vanilla Breeze styles it with bold text, a raised background, and a medium top border to visually distinguish summary rows from data.
Description
The <tfoot> element contains one or more <tr> elements that form the footer of a table. Place it after <tbody> in the source for clarity -- browsers render it at the bottom regardless of source position.
Vanilla Breeze styles tfoot cells with font-weight: 600, a raised background (var(--color-surface-raised)), and a thicker top border (var(--border-width-medium)) to visually distinguish summary rows from data rows.
When to Use
Summary totals: Sum, average, or count of column values
Aggregate data: Calculated values derived from <tbody> data
Financial tables: Final totals, subtotals, tax lines
Repeated footers: Printed tables can repeat tfoot on each page
When Not Needed
Simple tables: Tables without summary data do not require tfoot
Pagination controls: Navigation links belong outside the table, not in tfoot
Examples
Table with Totals
The shared basic table demo includes a tfoot with totals row, showing the raised background and top border that VB applies automatically.
Historically, tfoot could be placed before tbody in HTML to let browsers start rendering the footer early. Modern browsers handle this automatically. Place tfoot after tbody for more readable source:
Recommended source order
<table><caption>...</caption><colgroup>...</colgroup><thead>...</thead><tbody>...</tbody><tfoot>...</tfoot><!-- After tbody --></table>
CSS Reference
Vanilla Breeze applies these styles to every cell within tfoot, including the <th scope="row"> label cell, so the whole footer row shares one rule and one surface:
Semantic grouping: Helps assistive technologies identify summary rows as distinct from data
Implicit role: tfoot has an implicit ARIA role of rowgroup
Reading order: tfoot is read after the body rows, wherever it sits in the source; screen readers have no dedicated "jump to footer" command, so keep summary rows short and clearly labelled
Clear labels: Use descriptive text like "Total" or "Average" in the first cell of each footer row