Safari Mockup
An SVG mockup of the Safari browser.
Install using CLI
Install Manually
Copy and paste the following code
SafariMockup.vue
API
| Prop Name | Type | Default | Description |
|---|---|---|---|
url | string | null | URL displayed in the mockup's address bar. |
src | string | null | URL of the image to display inside the mockup. |
width | number | 1203 | Width of the mockup SVG in pixels. |
height | number | 753 | Height of the mockup SVG in pixels. |
Features
- Realistic Safari Browser Mockup: Provides an SVG representation of the Safari browser window, ideal for showcasing website designs.
- Customizable Dimensions: Adjust the
widthandheightprops to fit your specific needs. - Address Bar URL Display: Use the
urlprop to display a custom URL in the mockup's address bar. - Image Display Support: Use the
srcprop 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
- Ported from Magic UI.