Vanilla Breeze

site-tools

Site-wide utility container for header and footer actions like search, theme picker, and settings.

Overview

The <site-tools> element is a flex container for site-wide utility controls. It uses margin-inline-start: auto to push itself to the trailing edge of flex parents like <header class="site">.

It parallels <page-tools> which handles page-level utilities. Use <site-tools> for controls that appear on every page: search, theme picker, settings, account menus.

Basic Usage

In a Footer

Use <site-tools> in footers to wrap settings or utility panels.

CSS Tokens

The element uses standard VB spacing tokens. Override gap with --size-s on the element or a parent.

Accessibility

No special ARIA requirements. The element is a generic flex container. Individual tools within it (search, theme picker) handle their own accessibility.

Related