iPhone Mock

PRO

Present screenshots or live components inside a realistic iPhone frame with Dynamic Island, classic notch, or notch-free presets and light/dark device bodies.

Pro Features

Unlock advanced capabilities with the Pro version

Realistic Frame

Token-based device body with side buttons, rounded screen, and drop shadow.

Notch Presets

Dynamic Island, classic notch, or notch-free — switchable with a single prop.

Screenshot Showcase

Drop in an image via src to frame product screenshots edge to edge.

Live Children

Render real, interactive MoonUI components inside the screen area.

Light & Dark Body

Silver or space-gray device body that adapts to your presentation.

Responsive Scaling

Percentage-based radii keep proportions crisp at any width you choose.

Decorative & Accessible

Frame is aria-hidden while screen content stays in the accessibility tree.

Installation

Install via CLI

npx @moontra/moonui-cli add iphone-mock

Usage

Pro Required
App preview

Examples

Screenshot: Light & Dark Body

PRO

Showcase an app screenshot inside both light (silver) and dark (space gray) device bodies via the mode prop.

Pro Required
App preview on a light device
App preview on a dark device

Notch Variants

PRO

Switch the top cutout with the notch prop: modern Dynamic Island, classic notch, or notch-free full screen.

Pro Required
Dynamic Island preview

island

Classic notch preview

notch

Notch-free preview

none

Live Content

PRO

Pass real MoonUI components as children to render an interactive composition inside the screen instead of a static image.

Pro Required
AR

Alex Rivera

Product Designer

Pro

Weekly Summary

7-day streak

12 tasks completed, 3 in progress.