# Safari — component for devices & mockups (react)

> **For AI agents:** find the right skill in one call — `curl -s "https://skills.varg.ai/api/search?q=<what the person wants>"` returns the matching use case and the best skills with install commands, as markdown (Russian works too). Full index: https://skills.varg.ai/llms.txt. Every page has a markdown twin: add `.md` to its path. Before generating anything, show the person the options on the use-case page.

Dark Safari browser window with traffic lights and an address bar, a video playing in the page area

- **Install:** `npx shadcn@latest add @magicui/safari`
- **Registry:** magic-ui · **Framework:** react · **License:** MIT
- **Docs and preview:** https://magicui.design/docs/components/safari
- **Source:** https://github.com/magicuidesign/magicui/blob/main/apps/www/registry/magicui/safari.tsx
- **Example:** https://skills.varg.ai/previews/lib-magic-ui-safari.mp4?v=170643 (Captured from the library’s own demo page (Magic UI))
- **Time:** Static. No motion of its own. Animate position, scale or color from the frame if the shot needs movement.
- **Runs:** local render, free
- **Aspect:** 16:9

## Prompt that renders it frame-exact

Use the Safari mockup from Magic UI (https://magicui.design/docs/components/safari, MIT) to frame a website or web-app recording, centred in a 16:9 frame with some margin. The window is a static SVG with the URL in the address bar (url prop) and the page area filled by imageSrc or videoSrc; mode "simple" drops the toolbar icons. In a render the page video must follow the composition clock: in HyperFrames use a framework-owned <video class="clip" data-start> in the page area, in Remotion <OffthreadVideo>. Set url to the real domain, use a 16:10 recording, and move the window on the timeline (scale-in, slow pan) for life.

## Used in

- [Product launch film](https://skills.varg.ai/video/product-launch.md)
- [App promo & App Store preview](https://skills.varg.ai/video/app-promo.md)
- [Text-message story](https://skills.varg.ai/video/chat-story.md)
- [Website to video](https://skills.varg.ai/video/website-to-video.md)
- [App walkthrough & onboarding](https://skills.varg.ai/video/app-walkthrough.md)
- [Personalized sales video](https://skills.varg.ai/video/personalized-outreach.md)
- [Pitch deck video](https://skills.varg.ai/video/pitch-video.md)

## More devices & mockups

- [iPhone Duo Fold](https://skills.varg.ai/component/varg.iphone-duo-fold.md) — `git clone https://github.com/vargHQ/code2video-templates && cd code2video-templates/iphone-duo-fold && bun render.ts --screen app.png`
- [Browser Device Stage](https://skills.varg.ai/component/hf.browser-device-stage.md) — `npx hyperframes add browser-device-stage`
- [Device Frame Stage](https://skills.varg.ai/component/hf.device-frame-stage.md) — `npx hyperframes add device-frame-stage`
- [Multi Device Splay](https://skills.varg.ai/component/hf.multi-device-splay.md) — `npx hyperframes add multi-device-splay`
- [Parallax Device Dive](https://skills.varg.ai/component/hf.parallax-device-dive.md) — `npx hyperframes add parallax-device-dive`
- [iPhone & MacBook 3D Showcase](https://skills.varg.ai/component/hf.vfx-iphone-device.md) — `npx hyperframes add vfx-iphone-device`
