iPhone Mockup

Pro

A thick, extruded iPhone with a machined side rail, side buttons, and lock screen.

css 3dillustrationiphonephonemockupdevice3dcss
iPhone Mockup component preview

Props

PropTypeDefaultDescription
theme"cosmic-orange" | "deep-blue" | "silver" | "black" | "wensity-red""cosmic-orange"Chassis theme: Apple's Cosmic Orange, Deep Blue, or Silver finishes, plus custom Black and Wensity Red.
rotatenumber-22Yaw in degrees. Negative swings the right rail (side button, Camera Control) toward the viewer; 0 reads dead-on and hides the thickness.
tiltnumber6Pitch in degrees. Positive tips the top away so the bottom rail — speaker grille and USB-C — comes into view.
srcstring-Wallpaper shown on the display (fills the screen, object-cover).
timestring"9:41"Lock-screen clock, also shown in the status bar.
datestring"Wednesday, August 12"Date line above the lock-screen clock.
showLockScreenbooleantrueRender the lock-screen furniture. Turn off to show a wallpaper or screenshot unobstructed.
screenAltstring"Wallpaper"Alt text for the wallpaper image.
labelstring"iPhone Mockup illustration"Accessible label announced for the illustration.