Skip to content

Components Overlays

Sheet

A dialog that slides in from a side of the screen.

$ pyblade ui:add sheet

Sides

Props

Written as attributes of <pb-ui.sheet>; 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
side str "right" right, left, top or bottom
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.