Skip to content
Menu

Animation

Easing curve lab

Easing curve lab: Six easing curves race dots from A to B against a constant clock, with trails and live values that show where each one speeds up, slows down or overshoots; pick a curve to replay it.

Using Easing curve lab

Easing curve lab uses the wide preview frame with a light/dark theme setting.

Customize the preview

These controls are passed to the demo. Defaults and limits describe the preview; consult the implementation for its full prop API.

ControlTypeDefaultPreview limits
titletextHow should it land?Up to 48 characters
selectedselectexpo-outOptions: linear, ease-in-out, expo-out, back-out, bounce, elastic
durationnumber1100From 300 to 2400; step 50
accentcolor#1F45FFNo additional limit in the metadata.
trailsbooleantrueNo additional limit in the metadata.
loopbooleantrueNo additional limit in the metadata.
Which frameworks are available for Easing curve lab?

Easing curve lab is available for React, Vue, Svelte, Astro, HTML. The live preview uses React; the source observations below apply to index.tsx. Check the selected port before relying on the same interactions.

What does Easing curve lab depend on?

The React metadata lists no additional npm dependencies beyond React.

What accessibility details are visible in Easing curve lab?

The React source for Easing curve lab includes: native elements (button); attributes and handlers (aria-checked, aria-hidden, aria-label, aria-valuemax, aria-valuemin, aria-valuenow, aria-valuetext, tabIndex); explicit roles (radio, radiogroup, slider). These are source observations. Verify accessible names, focus order and keyboard behavior in the composed page.

How does Easing curve lab handle reduced motion?

Easing curve lab reads the motion preference in its React source through matchMedia(prefers-reduced-motion). Check the full implementation, shared styles and selected port with reduced motion enabled; these observations do not establish that every animation stops.

Connect your agent

Related open components