Skip to content

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

Share

Drag the handle down 80px to close.

  • 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

NameTypeDefaultDescription
titlestring—
dismissiblebooleantrue
closeLabelstring—
modelValuebooleanfalse

Events

NamePayloadDescription
update:modelValue[value: boolean]
close[]

Slots

NameScopeDescription
title—
default—
footer—

Released under the MIT License. Character names and artwork belong to their owners.