registry/default/particles/p-drawer-3.tsx
import { Button } from "@/registry/default/ui/button";
import {
Drawer,
DrawerDescription,
DrawerHeader,
DrawerPanel,
DrawerPopup,
DrawerTitle,
DrawerTrigger,
} from "@/registry/default/ui/drawer";
export default function Particle() {
return (
<Drawer position="right">
<DrawerTrigger render={<Button variant="outline" />}>
Open drawer
</DrawerTrigger>
<DrawerPopup showCloseButton variant="straight">
<DrawerHeader>
<DrawerTitle>Notifications</DrawerTitle>
<DrawerDescription>
This is the description of the drawer.
</DrawerDescription>
</DrawerHeader>
<DrawerPanel>
<p className="text-muted-foreground text-sm">
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do
eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim
ad minim veniam, quis nostrud exercitation ullamco laboris.
</p>
</DrawerPanel>
</DrawerPopup>
</Drawer>
);
}






















