Works with the AI Agents you already use

    Microinteractions

    by Aneetta Davis

    1

    Add polished, accessible microinteractions.dev UI studies to your project

    Free

    Security scanned
    Microinteractions

    Microinteractions

    Example session with this skill installed

    **Browse the catalog:** type `/microinteractions` in Claude Code or `$microinteractions` in Codex. **Or ask in plain words:** Add the hold to confirm button from microinteractions.dev to the "Delete account" action on my settings page.

    • Read your context and instructions
    • Compiled the microinteractions
    • Generated the UI component

    ## Option 1: `/microinteractions` or `$microinteractions` Here are the interactions available from [microinteractions.dev](https://microinteractions.dev), the free MIT-licensed collection by Juan Di Nella: | # | Interaction | Category | Effect | |---|---|---|---| | 1 | [Text swap button](https://microinteractions.dev/text-swap/) | Actions | Swaps labels without resizing. | | 2 | [Hold to confirm button](https://microinteractions.dev/hold-confirm/) | Actions | Confirms after a sustained press. | | 3 | [Drag to reorder](https://microinteractions.dev/drag-reorder/) | Actions | Moves items within a list. | | 4 | [Chevron morph buttons](https://microinteractions.dev/chevron-morph/) | Navigation | Extends chevrons into arrows. | | 5 | [Plucked underline](https://microinteractions.dev/plucked-underline/) | Navigation | Gives link underlines a string-like response. | | 6 | [Tab indicator](https://microinteractions.dev/tab-indicator/) | Navigation | Moves an underline between tabs. | | 7 | [Worm dots](https://microinteractions.dev/worm-dots/) | Navigation | Stretches a carousel's dot indicator. | | 8 | [FAQ panel](https://microinteractions.dev/faq-panel/) | Navigation | Moves a panel to the open answer. | | 9 | [Tick rail](https://microinteractions.dev/tick-rail/) | Navigation | Previews sections along a tick rail. | | 10 | [Gooey radio group](https://microinteractions.dev/gooey-radio-group/) | Toggles & choices | Flows selection between radio options. | | 11 | [Edge-aware tooltip](https://microinteractions.dev/edge-aware-tooltip/) | Values | Keeps a slider's label inside its container. | | 12 | [Drag to select](https://microinteractions.dev/drag-select/) | Direct manipulation | Selects rows with a drag. | | 13 | [Resize handle](https://microinteractions.dev/resize-handle/) | Direct manipulation | Follows the pointer along a divider. | Nothing in your project has been changed. Choose a name or number and tell me where to use it, for example: **4 on the carousel buttons.** ## Option 2: the plain-words request **Hold to confirm** is now on the "Delete account" action. I detected React + Tailwind v4 + shadcn/ui, so I installed it from the official registry. **1. Registered the library** in `components.json` (your other settings are unchanged): ```json "registries": { "@microinteractions": "https://microinteractions.dev/r/{name}.json" } ``` **2. Installed the component:** ```bash npx shadcn@latest add @microinteractions/hold-confirm ``` This adds `hold-confirm.tsx` and `hold-confirm-element.ts`, which must stay together. No new npm dependencies; it uses your existing `cn` helper. **3. Replaced the old button** in `app/settings/page.tsx`: ```tsx import { HoldConfirmButton } from "@/components/hold-confirm"; <HoldConfirmButton label="Hold to delete account" holdingLabel="Keep holding…" confirmedLabel="Account deleted" dialog={{ label: "Delete account", question: "Permanently delete your account and all its data?", cancel: "Keep account", confirm: "Delete", }} onConfirm={deleteAccount} /> ``` `onConfirm` calls your existing `deleteAccount()` action, so it is wired to real behaviour. **Accessibility, checked** | Area | What it does | |---|---| | Keyboard | Hold Space or Enter to confirm; release early or press Escape to cancel. | | Assistive tech | A keyboard or screen reader click opens a native confirm dialog, and a live region announces Confirmed or Cancelled. | | Reduced motion | Press and release animations only run under `motion-safe`. If your global reset forces `transition-duration`, exempt `[data-hold-progress]`. | | Theme | Uses your shadcn tokens, so it matches light and dark mode. | **Next steps** - The hold lasts 1,200 ms, set upstream. Keep it unless you want to maintain a fork. - Test on a touch device: scrolling during a hold cancels it by design. - MIT-licensed by Juan Di Nella; keep the attribution if you copy or modify it.

    hold-confirm.tsx

    TSX · React component

    Generated

    Example file from a real run - the skill writes it into your workspace.

    Connects securely to your tools. The creator never sees your data.

    About this skill

    Polished UI details take time, and hand-rolled animations rarely get timing, accessibility and edge cases right. This skill helps your agent use microinteractions.dev, a free, MIT-licensed collection of carefully designed UI studies by Juan Di Nella, and fit them into your app. > Unofficial community skill. It is not affiliated with or endorsed by microinteractions.dev or its author. All components belong to the original library and keep their MIT license and attribution. ## What it does - **Browse the catalog:** shows the 13 available studies with category, effect and documentation link. It checks the live site for new additions when it can. - **Install through the official registry:** for React + Tailwind CSS v4 + shadcn/ui projects, it adds the component with the shadcn CLI and can register `@microinteractions` in `components.json` without touching your other settings. - **Adapt to any stack:** for other setups, it ports the official HTML, CSS and JavaScript to your project's conventions instead of adding React or Tailwind just for one effect. - **Keep accessibility intact:** keyboard use, focus states, touch targets and reduced-motion support are kept during integration. - **Wire it up properly:** example callbacks are connected to your real application logic, and your theme tokens, spacing and typography are matched. ## How it works 1. Run `/microinteractions` (or ask for the catalog) to see the numbered list of studies. 2. Pick one by number or name and say where it goes, e.g. "2 on the delete account button". 3. The agent inspects your stack and chooses registry install or manual adaptation. 4. It integrates the component, checks it in the running UI where possible and reports anything it couldn't verify. ## Frameworks & tools Best with React, Tailwind CSS v4 and shadcn/ui. Also works with plain HTML/CSS/JS and other frameworks through adaptation. ## Why this beats prompting it yourself A generic prompt gets you a generic animation. This skill points your agent at real, designed studies and their official install path, so you get the original timing and behavior instead of an approximation, and it doesn't invent components that don't exist upstream. ## Use cases - "Hold to confirm" on destructive actions to prevent accidental clicks - "Worm dots" for a more fluid carousel indicator - "Edge-aware tooltip" so slider labels never overflow on small screens - "Plucked underline" on nav links for a bit of personality ## Known limitations - Only covers studies in the microinteractions.dev collection; anything else is flagged as a custom implementation. - Browsing the catalog never edits your project. Changes happen only after you choose an interaction and a target. - The saved catalog was last verified 2026-11-25; newer studies appear only when the live site is reachable.

    How to use

    1. 1

      Connect your agent to the Agensi MCP

      Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup

    2. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 3

      Ask for what you need

      Your agent loads this skill and uses it on your task. It always asks before buying a skill.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill goes through the trust checks below.

    Security scanned

    Checked by our 8-point scan before listing

    Fresh listing

    Recently published to Agensi

    Free to use

    No account required to browse

    Trust & safety

    Security scan

    Security scan passed 8 days ago

    • Free with an Agensi account

    Accounts
    Microinteractions
    Software
    ReactTailwind CSS v4.1+shadcn/ui (for one-command registry install)Node.js (to run the shadcn CLI)shadcn

    Permissions

    Terminal / Shell
    Read Files
    Write Files
    Network Access

    Allowed Hosts

    microinteractions.dev

    Network access fetches study pages and the registry from microinteractions.dev. Terminal runs the shadcn CLI install command. Read and write access lets it inspect your stack and add the component where you ask. Browsing the catalog never changes your files.

    Listed8 days ago

    What's inside

    Frequently Asked Questions

    A plain prompt gets you a generic, improvised animation. This skill points your agent at real, designed studies from microinteractions.dev and their official install path, so you get the original timing and behavior, and it won't invent components that don't exist upstream.

    While optimized for React, Tailwind CSS v4, and shadcn/ui, the skill can adapt the library's logic into vanilla HTML, CSS, and JavaScript to fit your specific project environment. It won't add React or Tailwind just to use one study

    Only when you ask for a specific interaction. Your agent then runs the official shadcn install command (or adds the adapted code) using your project's package manager, limited to that one interaction. Browsing the catalog never changes your files, and your agent's normal permission prompts still apply.

    The studies are built with accessibility in mind, and the skill tells your agent to keep keyboard support, focus states, touch behavior and reduced-motion handling intact, then check them where possible. It does not certify WCAG compliance, so test in your own app.

    A single SKILL.md file: instructions plus a catalog of the 13 microinteractions.dev studies with links. The components themselves come from the free, MIT-licensed microinteractions.dev library by Juan Di Nella. This is an unofficial skill, not affiliated with that project.

    When the agent can reach microinteractions.dev, it checks the live index and includes newly released studies automatically. If the site is unreachable, it falls back to the saved catalog (last verified 2026-11-25) and says so.

    New in Frontend & Web Apps

    Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Frontend & Web Apps.

    Free