Safari Mockup

An SVG mockup of the Safari browser.

API

Prop NameTypeDefaultDescription
urlstringnullURL displayed in the mockup's address bar.
srcstringnullURL of the image to display inside the mockup.
widthnumber1203Width of the mockup SVG in pixels.
heightnumber753Height of the mockup SVG in pixels.

Component Code

You can copy and paste the following code to create this component:

SafariMockup.vue

Features

  • Realistic Safari Browser Mockup: Provides an SVG representation of the Safari browser window, ideal for showcasing website designs.
  • Customizable Dimensions: Adjust the width and height props to fit your specific needs.
  • Address Bar URL Display: Use the url prop to display a custom URL in the mockup's address bar.
  • Image Display Support: Use the src prop to insert any image into the mockup's content area.
  • Light and Dark Mode Compatibility: The mockup adapts its colors based on the theme.

Credits