KodeKarsa UI

Overlays

Drawer

A panel from the edge of the screen. On the side it floats like a dashboard card; from the bottom it can be dragged.

src/components/ui/drawer.tsxBehavior from @ui-sdk/react/drawer

Filters from the right

Sheet from the bottom

Import

tsx
import { Drawer, DrawerContent, DrawerTrigger } from "@/components/ui/drawer";

Guidelines

  • Good for filters, table row details, and forms longer than a dialog.