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

    54
  • Warp Gradient

    Warp Gradient

    48
  • QR Code

    QR Code

    48
  • FAQ Section

    FAQ Section

    46
  • Wave Text

    Wave Text

    37
  • Corner Frame

    Corner Frame

    36
  • Animated Border

    Animated Border

    32
  • Spotlight

    Spotlight

    23

More in Dashboards

View all
  • Dashboard with Collapsible Sidebar

    Dashboard with Collapsible Sidebar

    2.4K
  • Sidebar

    Sidebar

    234
  • SaaS Template

    SaaS Template

    2.4K
  • Chat template

    Chat template

    598
  • Stats Bento

    Stats Bento

    1.1K
  • Statistics Card 2

    Statistics Card 2

    263
  • Stats cards with links

    Stats cards with links

    39
  • Financial Bento Grid

    Financial Bento Grid

    71