Skip to content

The Phone

Models, finishes, your own picture, the iPhone Duo and flipping to the back.

One component draws every handset in the library. This page covers the models, finishes, your own picture and the iPhone Duo.

Models

IdHandsetNotes
iphone-17-pro-maxiPhone 17 Pro MaxTitanium, Dynamic Island
iphone-17-proiPhone 17 ProTitanium, Dynamic Island
iphone-17iPhone 17Aluminium
iphone-airiPhone AirThe thinnest rim
iphone-16eiPhone 16eNotch
iphone-seiPhone SEHome button
iphone-duoiPhone DuoOpen: 7.6 inch book with a hinge. Closed: 5.4 inch cover display

Finishes follow each model: for example Cosmic Orange, Deep Blue and Silver on the Pro, and Star White and Night Sky on the Duo.

Your picture

import { Phone } from "@/components/vibebox/phone";

<Phone model="iphone-17-pro" finish="deep-blue" image="/work/home-mobile.webp" imageAlt="The home page on a phone" className="w-[300px]" />

The picture covers the screen. For live content, pass children instead (a page in an iframe, a video, your own component).

The Duo

fold="open" shows the book with its hinge; fold="closed" shows the cover display like a slab phone. The same picture works in both; for the open book, use a landscape image (about 4:3).

Side and tilt

The Front and Back switch is built in; pass view to control it yourself or flipControl={false} to hide it. tilt leans the phone toward a mouse pointer by up to 12 degrees and is off with reduced motion.

Size

One width sets the whole drawing (container units): give the component a width with className. Everything scales sharply, with no images for the body.

Phone Frame or Phone?

Use Phone when the handset itself is the point, or to show a single screenshot. Use Phone Frame to pan a tall full-page capture on hover.

↑ ↓ to move↵ to openesc to close