Back to AIX Effects LibraryQA Verified · Synced
Background & 3D/<Interactive3DDepth />·Intermediate

Interactive 3D Depth

Genuine CSS 3D geometry supporting custom tilt boundaries, layer Z-spread, and glare intensity.

Next.js 16+React 19TypeScriptTailwind CSSZero External Deps
PRESERVE-3D±12°
Spatial Depth Architecture

Move pointer around edges

translateZ(28px)

Glide pointer across card corners to feel multi-layer Z parallax.

Installation

Zero External Dependencies

Zero external packages needed.

Usage

import { Interactive3DDepth } from '@/components/effects/library/spatial/Interactive3DDepth'

<Interactive3DDepth
  maxTiltDeg={12}
  layerSpreadPx={28}
  glareOpacity={0.24}
  baseLayer={<div className="p-6">Core Panel</div>}
  elevatedLayer={<div className="p-3 rounded-xl bg-[#536dfe] text-white">Elevated Badge</div>}
/>

Props & API Reference

3 props
PropTypeDefaultDescriptionEffect
maxTiltDegnumber12Maximum pitch and yaw rotation angle in degrees.Adjusts 3D angle sweep.
layerSpreadPxnumber28Z-axis translation distance separating floating elevatedLayer.Increases front/back layer parallax shift.
glareOpacitynumber0.24Radial cursor spotlight glare opacity.Modulates specular surface sheen.

More in Background & 3D

View All 36 →
AuroraMesh.tsxcycle 11s · blur 40px
Atmospheric GPU Mesh

Pauses automatically via IntersectionObserver when scrolled out of viewport.

Electric Blue × Violet × Cyan

Aurora Mesh

Layered GPU gradient mesh drifting gracefully on opposing keyframe cycles with offscreen pause.

View Details
Sweep cursor or tap cells10×6 · 650ms

Interactive Grid

Reactive square matrix grid flashing sharply along pointer path and decaying smoothly.

View Details
Pointer repel field34 nodes · 95px

Particle Field

Retina-crisp Canvas 2D network responding to pointer repulsion and pausing automatically offscreen.

View Details