Moving
Install
npx shadcn add @syncrobotic/dock Also installs: @syncrobotic/cn, @syncrobotic/tray, @syncrobotic/badge
Overview
The bottom bar of the control app in three tiers: the state action, this page's primary action, navigation.
When to use
- Every page of the phone control app.
Use something else
- Internal tools on desktop: the app shell's sidebar.
More examples
States and real uses. Each example is also a Storybook story and a visual regression test.
Dock robot states
Dock action states
Usage rules
- Three tiers, top to bottom: state action, this page's primary action, navigation.
- Actions in the lower tiers are never solid white, so they do not compete with the stop.
Changelog
- 0.8.02026-11-17The tab count uses CountBadge. Icon to label 8 px (gap-2), the same in every component. Tabs put the label under the icon below 384 px of dock, so four tabs fit a 360 px phone; action labels wrap instead of running past the edge.
- 0.7.02026-11-17The destructive action is a danger outline, not a tinted fill.
- 0.6.02026-11-17Buttons press.