Skip to content
IntelliHelper logo

Intelli UI

OverlaysLiquid Glass

Drawer

Drag-to-dismiss glass panel with a handle and optional snap points. Preview live, copy the source, or install with the CLI into your Next.js project.
npx @intellihelper/cli@latest add drawer

Drag to dismiss

About this component

Drawer is part of Overlays. Drag-to-dismiss glass panel with a handle and optional snap points.

Install with npx @intellihelper/cli@latest add drawer. Files land in your project so you can customize styles, variants, and behavior without a locked package.

Prefer AI-assisted install? Use the agent plugin or the MCP server.

When to use Drawer

Use when

  • Use Drawer when drag-to-dismiss glass panel with a handle and optional snap points.
  • Temporary focus tasks: dialogs, sheets, drawers, popovers, tooltips, hover cards.
  • Confirmations and dense secondary UI that should not navigate away.

Avoid when

  • Primary page content — overlays hide context and hurt deep linking.
  • Critical legal copy that must remain permanently visible.

Accessibility notes

  • Focus moves into the overlay on open and returns on close.
  • Escape dismisses where appropriate; dialogs should label the title.
  • Tooltips must not be the only way to access essential information.

Interactive primitives build on accessible patterns (including Radix where applicable). Always verify focus order and contrast on your mesh or product background.

Composition tips

  • Prefer drawer for mobile drag-to-dismiss; sheet for desktop edge panels; dialog for focused confirmations.
  • Keep overlay body short; link out to full pages for long content.

FAQ

View all overlays