amankaushik481

Device Frame

Component

About

A phone or browser window mockup that wraps any React UI with a notch, status bar and side buttons, or a URL bar, for showing live interactive product UI in heroes and feature sections.

Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Device Frame to your project and fits it to your theme.

Code

How Device Frame is used: the demo's code. The component's own source comes with a free account.

Usage.tsx

import { DeviceFrame } from "@/components/ui/device-frame";

export default function DeviceFrameDemo() {
  return (
    <div className="flex flex-wrap items-center justify-center gap-10 p-10">
      <DeviceFrame device="phone" time="9:41" />
      <DeviceFrame
        device="browser"
        url="app.lumen.io/revenue"
        className="w-[360px]"
      />
    </div>
  );
}

Dependencies

More by amankaushik481

View all
  • Icon Button

    Icon Button

    14
  • Background Boxes

    Background Boxes

    12
  • Chip Filter

    Chip Filter

    8
  • Typing Text

    Typing Text

    7
  • Treemap Chart

    Treemap Chart

    6
  • File Dropzone

    File Dropzone

    5
  • Emoji Picker

    Emoji Picker

    4
  • Morphing Text

    Morphing Text

    2