# button[data-is="preferences-button"]

> Opens the preferences panel of the page's cookie banner; shown only where the consent applies (2.0).

Status: Ready (Smootify 2.0)  
URL: https://www.smootify.io/docs/reference/elements/button-data-is-preferences-button  
Updated: 2026-10-13

## Where it can go

- **Anywhere** on the page.
- **Out of place,** Smootify removes it from the page: when the page has no smootify-consent (console warning).

## What it requires

Nothing beyond Smootify: it works on every plan.

## Attributes on the element

- **It reads** `data-is`.
- **Smootify writes** `data-sm-consent` on it: do not set them yourself.
