Dynamic Weight
Controls
Dynamic Weight
Morph each letter between two font weights based on its distance from the cursor for a live, variable-font hover effect.
KEY FEATURES
- — Per-letter weight interpolation driven by cursor proximity
- — From and To weight controls across the full 100 to 900 axis
- — Strength control sets how far the proximity reach extends
- — Transition control eases both ramp-in and ramp-out smoothing
- — Editable label text with adjustable font size and color
- — Mouse and touch tracking for pointer position
- — Bundled Inter Variable font so the morph works out of the box
- — Screen-reader-friendly with visually hidden semantic text
- — Direct per-frame DOM mutation for smooth 60fps performance
API Reference
All props map directly to the controls panel sliders and color pickers.
LAYOUT
COLORS




