Device showcase 3D

Pro

A laptop and a phone built from CSS 3D solids that show your React screens. They bob, lean toward the pointer, spin by drag with inertia, and the laptop lid swings open on its hinge.

A recording of the component itself. With Pro you get its full source and it runs in your app.

What you get

  • Solid bodies: rounded edges, bezels, camera, keyboard
  • Any React content as the screens, still clickable
  • Drag to orbit with inertia; idle float and sway
  • Phone, laptop or both, in light and dark finishes
  • One TypeScript file in your project, yours to edit. No runtime package.
  • Keyboard, screen reader and reduced motion support; light and dark; your shadcn theme.

Install

npx shadcn@latest add @goodui-pro/device-showcase-3d

Needs a Pro license key in your registry config: two-minute setup. The file lands in components/goodui/device-showcase-3d.tsx.

More Pro components

Holo card

A collectible card with a holographic foil: a rainbow sheet, glitter and a glare that all follow the pointer while the card tilts in 3D, with floating depth layers and a flip to a back face.

Pro

Page flip book

A hardcover book whose pages curl along a true fold line as you drag a corner, with shadows that travel with the fold. The covers swing as rigid boards and the closed book recentres itself.

Pro

Sticker peel

Die-cut stickers that lift a corner on hover and peel along a true fold line as you drag, showing striped backing paper. Let go to snap back, or pull past the threshold and it tears off and flies away.

Pro