A panel that slides in from the edge of the screen. Extends the <dialog> pattern used by Dialog and AlertDialog. Unifies shadcn Sheet + Drawer into one component.

Basic (Client-only)

Right-side sheet with an edit profile form. Uses show_sheet/1 and hide_sheet/1 helpers.

Edit profile

Make changes to your profile here. Click save when you're done.

All Sides

Sheets can slide in from any edge. Use the side attribute.

Top Sheet

This sheet slides in from the top.

Sheet content goes here.

Right Sheet

This sheet slides in from the right.

Sheet content goes here.

Bottom Sheet

This sheet slides in from the bottom.

Sheet content goes here.

Left Sheet

This sheet slides in from the left.

Sheet content goes here.

With Handle (Drawer Style)

Bottom sheet with handle attribute for a visual drag handle bar. This covers the Drawer use case.

Move Goal

Set your daily activity goal.

350
Calories/day

Server-controlled

Server opens and closes the sheet. Uses the :if + show pattern.

Server state: show=false, result=nil