skip the tree
system / motion / navigation7 rebuilds
Navigation
The Navigation examples of the Motion library, rebuilt in Composite: the same trigger, in steps, with the system's own parts.
the category
motion/_rebuilds- rebuilds
- 7
- from motion+
- 7
- easing
- steps() only
motion / navigation / command palette
after a motion+ exampletype, then choose
margin_rebuilds/navigation/command-palette.tsx
- Motion
- AnimatePresence, animate
- here
- ui/command, no motion
- type
- the list cuts to the matches
- Enter
- runs it, a Glitch on the line
- original
- Command Palette
The list is always open. Each key cuts it to the commands that match, the highlight is one grey step, and the chosen command Glitches its line.
motion / navigation / floating action button
after a motion+ exampleopen the button
margin_rebuilds/navigation/floating-action-button.tsx
- Motion
- AnimatePresence, whileTap
- here
- play(), 4 frames
- a frame
- 80 ms, one action
- keys
- arrows, Escape, focus back
- original
- Floating Action Button
The button cuts to a close mark and the actions cut in one a step, bent on whole cells. Escape or a choice closes it in one cut and focus goes back to the button.
motion / navigation / smooth tabs
after a motion+ examplechange the tab
margin_rebuilds/navigation/smooth-tabs.tsx
- Motion
- AnimatePresence, layoutId
- here
- ui/tabs, a Glitch
- mark
- a bar that cuts to the tab
- panel
- cuts, its title glitches
- original
- Smooth Tabs
The mark under the chosen tab cuts to the next tab with no slide, and the panel cuts in place with its title Glitching once.
motion / navigation / tab select
after a motion+ examplechoose a tab
margin_rebuilds/navigation/tab-select.tsx
- Motion
- layoutId, whileTap
- here
- ui/toggle-group, no motion
- chosen
- the bone fill
- change
- the fill cuts to the tab
- original
- Tab select
The bone fill cuts from one tab to the next. Arrow keys move focus along the row, Space or Enter chooses.