Back to Components
Components

Sheet

Bottom sheet with drag to dismiss and snap points for quick resizing.

Dependencies

  • clsx
  • tailwind-merge

Files

  • components/ui/sheet.tsx

Installation

Using shadcn CLI

npx shadcn add sheet --url https://ui.hampton.io

Manual installation

Copy the component file to your project and install dependencies:

npm install clsx tailwind-merge