Skip to Content
zjkm-ui
Components

Tilt Mockup

A 3D tilt mockup with screen glare.

ProPro, coming soon.

Revenue this quarter

$184,200

Props
10°
0.35
16px
<TiltMockup>
  <img src="/screen.png" alt="…" />
</TiltMockup>

Get notified

Tilt Mockup is a Pro effect. Join the waitlist and we'll email you when it's available.

Usage

Wrap a screenshot or card. It tilts toward the mouse in 3D, with a glare sliding across it, and settles back when the mouse leaves. Touch and keyboard use leave it flat.

import { TiltMockup } from "@zjkm/pro/tilt-mockup";

export function Hero() {
  return (
    <TiltMockup radius={16}>
      <img src="/app.png" alt="The app's home screen" />
    </TiltMockup>
  );
}

Props

PropTypeDefaultDescription
childrenReactNodeYour screenshot or card.
maxTiltnumber10Largest tilt in degrees.
glarenumber0.35Strength of the glare, from 0 to 1.
radiusnumber16Corner radius in pixels. Match your content.
classNamestringClasses for the wrapper.

With reduced motion, it stays flat.

On this page