Skip to content
synccn

Browser Mockup

Browser window frame for screenshots and live UI.

my-app.com/dashboard

Installation

$ pnpm dlx shadcn@latest add @synccn/browser-mockup

First time in this project? Connect synccn with one command.

Usage

import { BrowserMockup } from "@/components/ui/mockups";<BrowserMockup url="my-app.com">…</BrowserMockup>

API reference

Generated from the component's TypeScript types, so it always matches the code.

BrowserMockup

Browser window frame for screenshots and live UI.

  • url
    string

    Default "example.com"

    Text in the address bar.

  • children
    React.ReactNode

    Content to render.

  • className
    string

    Extra classes for the root element.

Dependencies

Read from the component's imports when the site builds. The CLI installs all of these for you.

Helpers

npm packages

Accessibility

From the source

Read from this component's code when the site builds, so it can't drift.

No ARIA roles, key handling or motion settings in its source. It renders plain elements, so its accessibility comes from the content and labels you give it.