# Drawer
Display a content that slides in from the side of the screen.
## Usage
Use standalone.
```svelte
Content
```
## Anatomy
The `class` attribute values represent part names. Other attributes represent their corresponding props.
```svelte
```
## Props
| Name | Type | Default | Description |
|---|---|---|---|
| `children*` | `Snippet` | - | Drawer content; receives the variant as its argument |
| `open` | `boolean` | `false` | Bindable open state |
| `position` | `Position` | `"left"` | Specifies where to display the Drawer |
| `size` | `string` | `"auto"` | Specifies a valid CSS value for the Drawer width or height |
| `duration` | `number` | `200` | Animation duration in milliseconds |
| `cssvar` | `Record` | - | Renames the published animation-timing custom property; `cssvar.duration` makes the Drawer read `--svs-duration` from a caller-named token |
| `closable` | `boolean` | `true` | Whether light dismiss is enabled; `false` creates a forced-action modal with no light-dismiss or Escape |
| `ariaLabel` | `string` | - | Accessible label for the dialog |
| `element` | `HTMLDialogElement` | - | Bindable root element |
| `styling` | `SVSClass` | - | Styling override |
| `variant` | `SVSVariant` | `NEUTRAL` | Drawer variant |
`*` required. Other `HTMLDialogAttributes` are passed to `