Skip to content

Components Overlays

Drawer

A panel that rises from the bottom of the screen.

$ pyblade ui:add drawer

A drawer

Props

Written as attributes of <pb-ui.drawer>; put a colon before one to pass it a Python value, as in :items="items". A slot is written <pb-slot:name>.

NameTypeDefaultDescription
id str required Unique on the page
title str ""
description str ""
trigger slot ""
footer slot ""
class str "" Added to the classes of the component. Every other attribute is spread on it too.