Motion
VD3 UI provides a harmonic, lightweight motion system built on the Fibonacci ladder and golden ratio curves. Transitional animations are enabled by default across all unfoldable and moving components—delivering fluid, natural physics without heavy external runtimes.
Harmonic Fibonacci Timing
Rather than picking arbitrary timings like 200ms or 300ms, VD3 UI synchronizes every transition to consecutive terms of the Fibonacci sequence:
Each step is approximately 1.618 times the previous duration, ensuring that transitions feel proportionate to the physical distance and surface area of the moving element.
Lightweight vs External Engines
Need complex keyframe sequencing or SVG morphing? VD3 UI does not bundle heavy animation engines. You can install animejs or GSAP whenever specialized timelines or canvas physics are required; VD3 UI's components seamlessly integrate alongside them.
Fibonacci Duration Ladder
Click Replay ladder to watch each duration animate across its track with --vd-ease-out.
Golden Easing Curves
Golden cubic-bezier curves match the golden ratio deceleration curve (φ = 1.618), providing responsive initial velocity and buttery-smooth settling.
<VdExpandTransition>
Smooth WAAPI height/opacity collapse for accordions, code blocks, and trees. Automatically measures natural content height and picks the matching Fibonacci duration.
<VdTransition> Presets
Declarative Vue transition wrapper providing GPU-accelerated presets configured with Fibonacci tokens.
Accessibility & Motion Modes
VD3 UI respects user intent at all times. Motion is fully customizable via setMotion(), useReducedMotion(), and the <VdThemeCustomizer> component.
Live Motion Controller
data-motion="auto"| Mode | Behavior |
|---|---|
auto | Follows OS prefers-reduced-motion automatically (default). |
full | Enables all spatial, sliding, and scale animations. |
reduce | Eliminates movement; transforms becomes crossfades at 89ms. |
off | Disables all transitions outright (0ms). |