Drawer
Bottom sheet with swipe-to-close
A panel that slides up from the bottom on phones — filters, a share sheet, details for a map pin. On wide screens a Sheet from the side or a Modal usually fits better.
Basic
- A Sheet from the bottom with a drag handle. Esc, the backdrop and the handle close it;
:dismissible="false"keeps it open until your own button closes it. title(or#title) names it.
Usage
ts
import { BlessDrawer } from "blessing-ui";API
Props
| Name | Type | Default | Description |
|---|---|---|---|
title | string | — | |
dismissible | boolean | true | |
closeLabel | string | — | |
modelValue | boolean | false |
Events
| Name | Payload | Description |
|---|---|---|
update:modelValue | [value: boolean] | |
close | [] |
Slots
| Name | Scope | Description |
|---|---|---|
title | — | |
default | — | |
footer | — |