Back to Components
Components

Device Frame

Screenshot mockup frames for phone, tablet, laptop, and browser.

ui-destination.app
Device preview

Dependencies

  • clsx
  • tailwind-merge

Files

  • components/ui/device-frame.tsx

Installation

Using shadcn CLI

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

Manual installation

Copy the component file to your project and install dependencies:

npm install clsx tailwind-merge