Skip to main content

Usage

A Safari browser mockup component that displays content inside an SVG representation of the Safari browser.
<SafariMockup
  url="https://example.com"
  src="/path/to/your/image.png"
  :width="1203"
  :height="753"
/>

Props

url
string
default:"null"
URL displayed in the mockup’s address bar.
src
string
default:"null"
URL of the image to display inside the mockup.
width
number
default:"1203"
Width of the mockup SVG in pixels.
height
number
default:"753"
Height of the mockup SVG in pixels.

Credits

Build docs developers (and LLMs) love