TiltCard3D
A card that tilts toward the pointer, with lit shapes in parallax.
3Dimport { TiltCard3D } from 'umbra-ui/3d'
Props
| Prop | Type | Default | Description |
|---|---|---|---|
fallback | ReactNode | — | Replaces the built-in static fallback shown when WebGL is unavailable, the scene fails to load, or motion is reduced. |
glare | boolean | true | Show the highlight that follows the pointer. |
maxTilt | number | 8 | Maximum tilt in degrees at the card's edge. |
quality | "low" | "medium" | "high" | medium | Rendering budget: DPR cap 1 / 1.5 / 2 and proportionally fewer or more polygons and particles. |
reducedMotion | "system" | "always" | "never" | "system" | Reduced-motion override. Under reduced motion the static fallback is rendered instead of the scene. |
Usage notes
Content is normal DOM inside the tilting surface.
Accessibility
- The 3D layer is decorative.
- Under reduced motion the card does not tilt.
Import
import { TiltCard3D } from 'umbra-ui/3d';
import 'umbra-ui/styles.css'; // once, at the root of your app