# Microinteractions > A collection of UI microinteractions with live demos, timing notes, and copyable HTML, CSS, JavaScript, and Tailwind code. React components install with shadcn. A project by [Juan Di Nella](https://juandinella.com/). Every page also returns Markdown when requested with `Accept: text/markdown`. For React projects, use the shadcn install command in each study's Markdown. Components use your project's shadcn theme tokens. [Registry index](https://microinteractions.dev/r/registry.json). To install by name, add `"@microinteractions": "https://microinteractions.dev/r/{name}.json"` to `registries` in `components.json`, then run `npx shadcn@latest add @microinteractions/{name}`. ## Studies - [Text swap button](https://microinteractions.dev/markdown/text-swap.md): Swap labels without changing the button width. [React registry item](https://microinteractions.dev/r/text-swap.json). - [Hold to confirm button](https://microinteractions.dev/markdown/hold-confirm.md): Hold the button for 1,200ms to confirm. Release early to cancel. [React registry item](https://microinteractions.dev/r/hold-confirm.json). - [Chevron morph buttons](https://microinteractions.dev/markdown/chevron-morph.md): Extend a chevron into an arrow on hover. [React registry item](https://microinteractions.dev/r/chevron-morph.json). - [Plucked underline](https://microinteractions.dev/markdown/plucked-underline.md): Pluck a link underline like a string tuned by its length. [React registry item](https://microinteractions.dev/r/plucked-underline.json). - [Tab indicator](https://microinteractions.dev/markdown/tab-indicator.md): Slide the underline to the chosen tab without moving the labels. [React registry item](https://microinteractions.dev/r/tab-indicator.json). - [Worm dots](https://microinteractions.dev/markdown/worm-dots.md): Drag along the dots to scrub the slides, with a worm that follows the scroll. [React registry item](https://microinteractions.dev/r/worm-dots.json). - [Tick rail](https://microinteractions.dev/markdown/tick-rail.md): Grow the ticks around the pointer and preview the section under it. [React registry item](https://microinteractions.dev/r/tick-rail.json). - [Gooey radio group](https://microinteractions.dev/markdown/gooey-radio-group.md): Pour the selection from one option to the next. [React registry item](https://microinteractions.dev/r/gooey-radio-group.json). - [Aligned select](https://microinteractions.dev/markdown/aligned-select.md): Open the menu with the current option on top of the trigger. [React registry item](https://microinteractions.dev/r/aligned-select.json). - [Edge-aware tooltip](https://microinteractions.dev/markdown/edge-aware-tooltip.md): Keep a slider's value label inside its container. [React registry item](https://microinteractions.dev/r/edge-aware-tooltip.json). - [FAQ panel](https://microinteractions.dev/markdown/faq-panel.md): Slide one panel to the question you open and fit it to the answer. [React registry item](https://microinteractions.dev/r/faq-panel.json). - [Drag to select](https://microinteractions.dev/markdown/drag-select.md): Check a run of table rows in one drag down the boxes. [React registry item](https://microinteractions.dev/r/drag-select.json). - [Resize handle](https://microinteractions.dev/markdown/resize-handle.md): Show the grip where the pointer meets the divider. [React registry item](https://microinteractions.dev/r/resize-handle.json). - [Drag to reorder](https://microinteractions.dev/markdown/drag-reorder.md): Open a gap in a list that follows the item you drag. [React registry item](https://microinteractions.dev/r/drag-reorder.json). ## Optional - [Collection index](https://microinteractions.dev/markdown/index.md): all studies with category, trigger, and duration - [Agent skill](https://microinteractions.dev/.well-known/agent-skills/microinteractions/SKILL.md): how to find, install, adapt, and review a study. Install it with `npx skills@latest add https://microinteractions.dev` - [API docs](https://microinteractions.dev/api.md): content negotiation, fixed Markdown URLs, the React registry, and WebMCP tools - [RSS feed](https://microinteractions.dev/rss.xml): new studies as they are published