# Off-canvas panel

> The values of `data-action`.

Status: Ready (Smootify 2.0)  
URL: https://www.smootify.io/docs/astro/reference/attributes/modal-backdrop  
Updated: 2026-10-21

## Where it can go

- **Anywhere** on the page.
- On a real `<button>`.

## Values

| Attribute and value | What it is | Notes |
|---|---|---|
| `data-action="close"` | Close the panel | Inside a `<details>` panel opened with modal-backdrop |
