useBallballThe travelling ball: a round body that charges toward its destination, springs across and squashes against the wall it lands on (the Switch thumb physics for dots, thumbs, carets and rails).
BeatsThe three beats as helpers: press charge (usePress, sink, stretch), the cascade of secondary parts after a hero movement, the put-down of a landing part and the reflow spring for siblings.
composeRefscompose-refsCombines several React refs into one callback ref, with React 19 ref cleanup support.
FloatingLabelfield-labelThe field family's floating label: a pill with the travelling ball's physics, thrown onto the rim on focus where it lands with a squash, tinted toward ring.
Effects GLSL chunksfx-glslShared GLSL chunks for effect shaders: simplex noise with fbm, OKLab color conversion and film grain.
Effects presetsfx-presetResolves the preset and temperament props of an effect into colors, intensity and speed.
Effects runtimefx-runtimeShared runtime of the Effects collection: gated frame loop, mouse and touch pointer with ghost hand, CSS colour conversion and capped device pixel ratio.
MorphOne surface becomes another: shared-layout surfaces without bounce, content that travels without stretching, a box-shadow rim that stays 1px, and parts that rise in after the surface.
MotionKit Providermotion-kitSets the temperament (calm, lively, playful), global time scale and reduced-motion policy for every MotionKit component.
Motion Presetsmotion-presetsThe motion language: temperament table (calm, lively, playful), springs, durations, easing curves and stagger rules used by every MotionKit component.
usePillpillThe stretching pill: an active-item capsule whose leading edge springs ahead while the trailing edge follows, so it stretches over the travel and contracts on arrival.
RollThe digit roll: tabular digits that travel vertically like a ball between stops, only the changed ones, in the direction of change, with reserved width so the layout never shifts.
Sections runtimesection-runtimeShared runtime of the Sections collection: loads a section's heavy graphics the first time it nears the viewport, with a still frame meanwhile.
ShapeThe shape language as data: the built-in ball, pill, tile and triangle as SVG paths, custom paths with their viewBox, fitting, masks and a cached sampled outline for physics.
TemperamentsThe single table of MotionKit temperaments (calm, lively, playful): springs, physics, durations, squash, tilt, stagger and CSS easings.