Cursor & pointer

Tilt & Holo

3D tilt that follows the pointer, plus holographic foil whose colors shift with the viewing angle.

Paste it into ChatGPT, Claude, Cursor or v0.
max angle14
perspective1000
scale1.04
variant

Usage

import { HoloCard, Tilt } from '@vizzele/react';

<HoloCard max={14}>
  <h3>Prismatic</h3>
</HoloCard>

<Tilt max={10} scale={1.02} className="my-card">…</Tilt>

Props

PropTypeDefaultDescription
maxnumber12Maximum rotation in degrees.
perspectivenumber1000CSS perspective in px.
scalenumber1.03Scale while hovered.
reversebooleanfalseTilt away from the pointer.
axis'x' | 'y' | 'both''both'Restrict rotation.
springSpringConfig | SpringPreset'liquid'Follow spring.

Accessibility

  • Touch: tilts toward where you press, relaxes on release.
  • Reduced motion: no rotation; the foil stays as a static sheen.