Radix
The Radix examples of the Motion library, rebuilt in Composite: the same trigger, in steps, with the system's own parts.
the category
motion/_rebuilds- rebuilds
- 15
- from motion+
- 15
- easing
- steps() only
motion / radix / radix: accordion
after a motion+ example- Motion
- AnimatePresence, a height tween
- here
- play(), 3 frames
- open
- a cut, then a line a frame
- close
- one cut
- original
- Radix: Accordion
A panel cuts open at its full height, then its lines step in, one a frame. Closing is one cut. Tab moves between the sections; Enter or Space opens one.
motion / radix / radix: checkbox
after a motion+ example- Motion
- pathLength, a draw
- here
- play(), 4 frames
- a frame
- 60 ms, a quarter of the mark
- clear
- one cut
- original
- Radix: Checkbox
The check draws left to right in four cuts, a quarter of its width each, and clearing it is one cut.
motion / radix / radix: dialog
after a motion+ example- Motion
- AnimatePresence, a scale
- here
- play(), 3 frames
- open
- a cut, then the parts step in
- close
- one cut, focus back
- original
- Radix: Dialog
The dialog and its screen cut in. Then the title, the text and the actions step in, one a frame. Closing is one cut, and focus returns to the button.
motion / radix / radix: dropdown menu
after a motion+ example- Motion
- a spring on open and close
- here
- the State set
- open
- a cut
- marks
- a check cuts in
- original
- Radix: Dropdown Menu
The list cuts open under its button. A highlighted row is one grey step, and a check or a dot cuts onto the chosen row.
motion / radix / radix: progress
after a motion+ example- Motion
- a spring on the value
- here
- play(), 10 frames
- a frame
- 100 ms, 10 percent
- value
- the number cuts with the bar
- original
- Radix: Progress
The bar and its number rise in ten whole steps of ten percent. Nothing glides between two values.
motion / radix / radix: radio group
after a motion+ example- Motion
- layout, a moving dot
- here
- the State set
- choose
- the dot cuts to the new radio
- keys
- arrows move and choose
- original
- Radix: Radio Group
The mark cuts from one radio to the next, and the preview changes its spacing in the same cut. Nothing slides.
motion / radix / radix: select
after a motion+ example- Motion
- scale and fade in
- here
- the State set
- open
- a cut
- choose
- the list cuts shut, focus back
- original
- Radix: Select
The list cuts open, one grey row follows the arrows, and a choice cuts the list shut and the value into the button.
motion / radix / radix: switch
after a motion+ example- Motion
- a spring on the thumb
- here
- the State set
- flip
- the thumb cuts to the other end
- keys
- Space
- original
- Radix: Switch
The thumb cuts from one end to the other, and the track changes its fill in the same cut. A press is bone while it is held.
motion / radix / radix: tabs
after a motion+ example- Motion
- layoutId, a sliding underline
- here
- play(), 3 frames
- underline
- a cut under the new tab
- panel
- its parts step in
- original
- Radix: Tabs
The underline cuts from one tab to the next. The new panel's parts step in, one a frame. Arrows move focus; Enter or Space opens a tab.
motion / radix / radix: toast
after a motion+ example- Motion
- a slide in, a swipe out
- here
- the State set
- show
- a cut
- away
- swipe, close, undo or 5 s
- original
- Radix: Toast
The toast cuts in at the foot of the screen. A swipe moves it with the pointer, and it cuts away on release past the edge. Close, Undo and the timer also cut it away.
motion / radix / radix: toggle group
after a motion+ example- Motion
- layoutId, a moving pill
- here
- the State set
- choose
- the fill cuts to the new item
- keys
- arrows move, Space chooses
- original
- Radix: Toggle Group
The pressed fill cuts from one item to the next, and the preview follows in the same cut.
motion / radix / radix: toolbar
after a motion+ example- Motion
- layoutId, whileTap
- here
- the State set
- toggle
- a fill cuts on and off
- keys
- one Tab stop, arrows inside
- original
- Radix: Toolbar
The toolbar is one Tab stop and the arrows move inside it. Each toggle is one solid fill, and the sample text changes in the same cut.
motion / radix / radix: tooltip
after a motion+ example- Motion
- a fade and a rise
- here
- the State set
- open
- a cut, after a delay
- keys
- focus opens, Escape closes
- original
- Radix: Tooltip
The tip cuts in after a short delay on hover or keyboard focus, and cuts out when the pointer or the focus leaves. Escape closes it.
motion / radix / radix: slider with animatenumber
after a motion+ example- Motion
- AnimateNumber, a spring
- here
- the State set, a Glitch
- value
- whole steps of 5
- keys
- arrows, Home, End
- original
- Radix: Slider with AnimateNumber
The thumb moves in whole steps and the number cuts with it. When the thumb is let go, the number glitches once.