skip the tree
system / motion / forms3 rebuilds

Forms

The Forms examples of the Motion library, rebuilt in Composite: the same trigger, in steps, with the system's own parts.

the category

motion/_rebuilds
rebuilds
3
from motion+
2
easing
steps() only

motion / forms / characters remaining

after a motion.dev example
type in the field
margin_rebuilds/​forms/​characters-remaining.tsx
Motion
useAnimate on the count
here
a cut at each key
near the limit
the count turns bone
past it
the count turns Fault

The count cuts to its new number at each key press. Only a passed limit turns it to the Fault ink; red is for Faults.

motion / forms / ios slider

after a motion+ example
drag the bar, or use the arrow keys
margin_rebuilds/​forms/​ios-slider.tsx
Motion
useMotionValue, useTransform
here
ui/slider, vertical
a step
5 of 100
focus
the State set
original
iOS slider

The fill moves in steps of five, by drag or arrow keys. It does not stretch or spring past its ends.