Twenty-seven small, self-contained interaction components: like burst, confetti button, success check, drawn checkbox, stretchy toggle, copy feedback, notification badge, floating label, slide to confirm, hold to confirm, swipe to delete, paper plane send button, password reveal, clear input, radio select with a travelling dot, folder drop, quick reply chips, mute switch, reaction tray, padlock toggle, pin toggle, list to grid, permission gate, face scan, crop frame with aspect ratios, sort handle with keyboard reordering and resize frame that snaps to a grid. The toggle's knob squashes and stretches toward its target while pressed and settles with a spring on release. Import each by name or switch with the effect prop on MicroInteraction; with reduced motion, bursts and flights are skipped and only the state and color change remain. Accent parts read --sunui-spot like the other blocks, falling back to --primary.
pnpm dlx shadcn@latest add "https://sunui.synvize.com/r/micro-interactions.json"