# [consent-panel="banner"]

> Shown while the banner is required, hidden while the preferences panel is open (CSS only).

Status: Ready (Smootify 2.0)  
URL: https://www.smootify.io/docs/reference/elements/consent-panel-banner  
Updated: 2026-10-13

`[consent-panel="banner"]` is a **template**, read by [`smootify-consent`](https://www.smootify.io/docs/reference/elements/smootify-consent): it is never defined on its own.

## Where it can go

- **Inside** [`smootify-consent`](https://www.smootify.io/docs/reference/elements/smootify-consent).
- **Out of place,** it stays in the page and does nothing.

## What it requires

Nothing beyond Smootify: it works on every plan.
