Safari
Safari supplies a decorative browser frame with a displayed URL and media slot.
Practical React example
Frame a website screenshot or video as a browser mockup beside a plain-language feature description.
Before you copy and paste
Match the imported component’s client or server rendering boundary before using the example. Copy components/magicui/safari.tsx and its returned support files from the Code tab; preserve the project-relative paths.
Use the Code tab for the component files and installation instructions, then adapt the imports in this example to your project.
Frame a website screenshot or video as a browser mockup beside a plain-language feature description
// Usage adapted from Magic UI's pinned MIT source.
// Copyright (c) Magic UI. See ./LICENSES.md.
'use client';
import { Safari } from "@/components/magicui/safari"
export function ComponentExample() {
return (
<Safari url="https://magicui.design" />
);
}
Usage example adapted from Magic UI's pinned MIT source. Retain the source licence notices when copying.
Use imageSrc or videoSrc for media you control and reserve the mockup’s aspect ratio. Keep the displayed url accurate for the illustrated product.
Customization
- SafariProps.url
- Optional; string.
- SafariProps.imageSrc
- Optional; string.
- SafariProps.videoSrc
- Optional; string.
- SafariProps.mode
- Optional; SafariMode.
Integration notes
- The frame is not a live browser or proof that the displayed address serves the shown content.
- Provide accessible descriptions outside the screenshot and a fallback for unavailable media.
Component source: Magic UI documentation . These examples describe the version imported into Rendyn. Upstream APIs may have changed; retain the source licence notices when adapting the code.
Give your agent taste.
The best way to use Rendyn is through MCP. Let your agent find the right component, compare previews and bring the source into your project.
All components are free. Sign up only to connect MCP.