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 / carousel: ios exposure slider
after a motion+ exampledrag the scale, or use the arrow keys
margin_rebuilds/forms/carousel-ios-exposure-slider.tsx
- Motion
- useMotionValue, a spring
- here
- ui/slider, whole stops
- a stop
- 0.2 EV, 21 stops
- ticks
- the tick at the value cuts tall
- original
- Carousel: iOS exposure slider
The value moves in whole stops, by drag or arrow keys. The ticks near it cut tall, and the scene cuts to the next grey of the ladder.
motion / forms / characters remaining
after a motion.dev exampletype 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
- original
- Characters remaining
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+ exampledrag 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.