Skip to main content

Usage

An iPhone mockup component that displays content inside an SVG representation of an iPhone.
<iPhone15ProMockup
  :width="433"
  :height="882"
  src="/path/to/your/image.png"
/>

Props

width
number
default:"433"
Width of the mockup SVG in pixels.
height
number
default:"882"
Height of the mockup SVG in pixels.
src
string
default:"null"
URL of the image to display inside the mockup.

Credits

Build docs developers (and LLMs) love