Dev Design Library

Drawer Buttons

Two buttons that open side drawers with a 3D fold. Payment comes from the right, cart from the left, and the fields stagger in.

Drawer Buttons preview
Library
uselayouts
Framework
React
Type
component
License
MIT
Dependencies
clsx, lucide-react, motion, tailwind-merge, vaul
Install
npx shadcn@latest add https://uselayouts.com/r/drawer-buttons
Files
  • registry/default/example/drawer-buttons.tsx
  • registry/default/example/drawer-buttons-field.tsx
  • lib/utils.ts
  • components/ui/button.tsx
  • registry/default/example/drawer-buttons-drawer.tsx
  • components/ui/field.tsx
  • components/ui/input.tsx
  • components/ui/select.tsx
Source
https://github.com/iurvish/uselayouts

Categories

More from uselayouts