# Add Pointer-Driven Lighting to a Glass Card

QuickLiquid's rim can respond to pointer movement over a surface. `cursorTracking` follows the pointer angle, and `hoverLighting` controls the additional glow on hover. They are separate options and both are off by default.

## Start with light and leave the content still

```tsx
import { LiquidGlass } from 'quick-liquid/react';

export function PreviewCard() {
  return (
    <LiquidGlass config={{
      material: 'thin',
      cursorTracking: true,
      hoverLighting: false,
      parallax: false,
      lightAngle: -35,
      edgeHighlight: 0.57,
      specularStrength: 0.18,
    }}>
      <article style={{ padding: '1.25rem' }}>
        <h2>Weekly preview</h2>
        <p>Three changes are ready to review.</p>
      </article>
    </LiquidGlass>
  );
}
```

With `parallax: false` the text and links keep their positions while the highlight moves. `lightAngle` supplies the starting light direction. An older config may use `dynamicLighting`. The engine maps that alias to cursor tracking when `cursorTracking` is omitted.

## Check touch and reduced motion

Make sure a static rim and readable content are present when the pointer never crosses the card. The engine honors reduced motion by default for pointer lighting. Surrounding CSS animations need their own reduced-motion behavior.

Use the effect on one prominent surface first, then check the card next to neighboring UI on dark and light backgrounds. If you add moving lights to many cards, test them together while scrolling. [The benchmark guide](/blog/liquid-glass-performance-benchmark/) explains how to separate the cost of this interaction from displacement-map work.
