Dev Design Library

Drawer

Side panel that slides in from the left or right with a spring, backdrop blur, body scroll lock and esc-to-close.

Drawer preview
Library
beUI
Framework
React
Type
component
License
MIT
Install
npx shadcn@latest add @beui/drawer
Files
  • components/motion/drawer.tsx
  • lib/ease.ts
  • lib/hooks/use-focus-trap.ts
  • lib/i18n.tsx
  • lib/presence-gate.tsx
  • lib/utils.ts
Source
https://github.com/starc007/ui-components

Categories

More from beUI