---
name: "[up-drawer]"
area: "API"
kind: "HTML attribute"
parent: "up.layer module"
visibility: "deprecated"
url: "https://unpoly.com/api/up-drawer"
---
<nav aria-label="Unpoly docs">[All docs](https://unpoly.com/index.md) · [up.layer module](https://unpoly.com/api/up.layer.md)</nav>

# [up-drawer]

**This feature has been deprecated**. Use `[up-layer=&quot;new drawer&quot;]` instead.

Load [`unpoly-migrate.js`](https://unpoly.com/changes/upgrading.md) to polyfill deprecated features.

Clicking this link will load the destination and open the given selector in a drawer overlay that slides in from the edge of the screen.

---

## Modifying attributes {#attributes}

> #### Info
>
> All modifying attributes for [`[up-layer=new]`](https://unpoly.com/api/up-layer-new.md) may also be used.

### up-drawer {#up-drawer}

(required)

The CSS selector that will be extracted from the response and displayed in a drawer overlay.

Type: string

