Browser Mockup
MotionBrowser Mockup is a React browser window frame with traffic lights, an address bar and optional tabs around a screenshot or children, plus a matching PhoneMockup.
src/registry/premium/browser-mockup.tsx/r/browser-mockup.json
Installation#
bash
npx shadcn@latest add @minidev/browser-mockup
MiniDev UI is in the shadcn registry directory, so the short form works with no setup. Older CLI versions can use the full URL: npx shadcn@latest add https://ui.minidev.pro/r/browser-mockup.json
Usage#
tsx
import { BrowserMockup } from "@/components/ui/browser-mockup"
export function Example() {
return <BrowserMockup />
}
API reference#
| Prop | Type | Default |
|---|---|---|
url | string | "https://app.lumen.dev/overview" |
tabs | string[] | [] |
activeTab | number | 0 |
src | string | - |
alt | string | "" |
appearance | "auto" | "dark" | "auto" |
phone | boolean | - |
children | React.ReactNode | - |
className | string | - |
Dependencies#
npm
lucide-react
Built from
No other MiniDev files
Related landing pages components#
Agency PortfolioAn agency portfolio page with a marketing navbar, animated headline, project cards that fade up in sequence as they scroll in, and a mega footer.Blog HomeA blog index page with a marketing nav, tag filter chips for all, design and engineering, a grid of post cards with excerpts and dates, and a footer.Brand Kit PageA brand showcase page combining poster type, a typographic marquee, tilt cards, a text scramble, a grid reveal, a price morph and a magnetic CTA.Careers PageA React careers page with a marketing nav, animated headline, open roles listing location and employment type with apply buttons, and a mega footer.Changelog MarketingA marketing changelog with a gradient masked headline, a subscribe CTA and a timeline of versions with highlight dots and bullet lists that slide in.Changelog MotionA React changelog timeline where each release slides in on scroll with version, date, title, an optional New, Fix or Premium badge and a bullet list.
All Landing page sections for React and Tailwind