A colour index that is the whole wall: choosing a name rolls the screen in that colour from the hand, and every word flips to its ink exactly where the paint has reached.
Use it when picking a named colour is the point of the page: you render the list of names and the whole wall rolls into the chosen colour. A card beside the hand can carry the action, such as an order button.
When not to use
Not for choosing an exact value (hex, HSL) or inside dense forms. For a precise colour field use Color Picker.
Use it for a paint range, a palette or theme chooser, where the screen itself is the sample and the card next to the hand carries the action. Effects are visual
pieces rather than controls: they do not replace the Interface components in dashboards and forms.
Names are real buttons with aria-expanded; Tab coats from the focused name, Enter moves into the card, Esc returns. The in-flight copies of the page are inert and aria-hidden.
The effect never takes focus. On touch screens a tap coats the wall from the finger and opens the card at the foot, a tap outside closes it; at rest the wall cycles through the coats. Vertical scrolling stays with the page.
No disc, no droplets and no automatic cycle: the wall changes colour in one step. The Coat hooks read usePrefersReducedMotion, so the MotionKitProvider setting applies too.
DOM only: per frame one clip-path and two transforms change, and the loop stops as soon as the paint is dry. The automatic cycle on touch stops off screen and in hidden tabs.
Source size is checked against the 15 KB gzip budget for effects (pnpm size).
Technical sheet
Motion
calm
260 ms · bounce 0
lively
400 ms · bounce 0.3
playful
540 ms · bounce 0.45
Main spring of each temperament. Set it with the temperament prop or MotionKitProvider; the default is lively.
Size
Not measured yet · budget 15.0 kB gzip
Component and MotionKit helpers; excludes react, react-dom.
Dependencies
motion
Triggers
pointer movement, click
Reduced motion
No disc, no droplets and no automatic cycle: the wall changes colour in one step.
Keyboard
Tab
Coats the wall from the focused name
Enter
Pins the card and moves focus to its first action; Esc closes it
Browsers
Last 2 versions of Chrome, Edge, Firefox and Safari (iOS 16.4+)