Device

Performant CSS device mockup with custom content

Device screen

Customize

Scale
0.40
Parallax Strength
15px
Rotate Strength
3.0°

Props

10
imagestring

URL of the image displayed on the device screen

Default"https://images.unsplash.com/photo-1579546929518-9e396f3cc809?w=800&q=80"
scalenumber

Scale factor for the device size (recommended range: 0.5 to 1.5)

Default1
isScrollableboolean

Whether the screen content can scroll vertically (uses Lenis for smooth scrolling)

Defaultfalse
enableParallaxboolean

Enable subtle parallax movement effect on hover

Defaulttrue
parallaxStrengthnumber

Parallax movement strength in pixels

Default15
enableRotateboolean

Enable subtle rotation effect on hover (includes Z-axis rotation)

Defaulttrue
rotateStrengthnumber

Rotation strength in degrees

Default3
autoAnimateboolean

Auto-animate with smooth simulated cursor movement in a figure-8 pattern

Defaultfalse
classNamestring

Additional CSS classes for the wrapper element

Default""
childrenReactNode

Custom content to display inside the device screen (overrides image prop)

Defaultundefined