Controls

Curve editor

a cubic-bezier easing: drag or arrow the two handles, pick a preset or paste CSS · a live preview

Curve editorWeb only

Usage

Easing for a transition that runs a set time. For motion that should feel physical (a sheet, a drag release), a SpringEditor.

API

<CurveEditor label value={[x1,y1,x2,y2]} onChange duration? />

Get it

Already in every copy of the web kit:

import { CurveEditor, MotionPreview } from '@/components/controls/curve-editor';

Details

Exports
CurveEditor, MotionPreview
Packages
cn@^0.5.2, lucide-react@^1.52.0
Installs with
@halftone-web/control-select, @halftone-web/hook-use-reduced-motion, @halftone-web/lib-controls-bezier, @halftone-web/lib-controls-scrub
Also searched as
easing, cubic-bezier, bezier, timing function, ease

Agents: the whole registry is at /llms.txt.