kevingirelli

Browser Frame

Dashboards

About

A CSS-drawn browser window frame with window dots and an address bar, used to wrap a screenshot, iframe, or dashboard preview.

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

Code

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

Usage.tsx

import { BrowserFrame } from "@/components/ui/browser-frame";

export default function BrowserFrameDemo() {
  return (
    <div className="flex w-full items-center justify-center p-8">
      <BrowserFrame
        url="harbour.example.com/dashboard"
        className="w-full max-w-2xl"
      >
        <div className="grid grid-cols-3 divide-x divide-border">
          <div className="flex flex-col items-center justify-center gap-1 p-6">
            <span className="text-2xl font-semibold">82%</span>
            <span className="text-muted-foreground text-xs">Berths booked</span>
          </div>
          <div className="flex flex-col items-center justify-center gap-1 p-6">
            <span className="text-2xl font-semibold">22 h</span>
            <span className="text-muted-foreground text-xs">Open hours</span>
          </div>
          <div className="flex flex-col items-center justify-center gap-1 p-6">
            <span className="text-2xl font-semibold">7</span>
            <span className="text-muted-foreground text-xs">Waiting list</span>
          </div>
        </div>
      </BrowserFrame>
    </div>
  );
}

More by kevingirelli

View all
  • Aurora

    Aurora

    76
  • QR Code

    QR Code

    58
  • Warp Gradient

    Warp Gradient

    53
  • FAQ Section

    FAQ Section

    52
  • Animated Border

    Animated Border

    42
  • Corner Frame

    Corner Frame

    41
  • Wave Text

    Wave Text

    41
  • Spotlight

    Spotlight

    32

More in Dashboards

View all
  • Dashboard with Collapsible Sidebar

    Dashboard with Collapsible Sidebar

    2.5K
  • Sidebar

    Sidebar

    286
  • SaaS Template

    SaaS Template

    2.5K
  • Course Design Cards

    Course Design Cards

    1.1K
  • Chat template

    Chat template

    614
  • System Status Block

    System Status Block

    316
  • Statistics Card 7

    Statistics Card 7

    301
  • Bar Chart

    Bar Chart

    1