Skip to content

About

Study microinteractions in slow motion: CSS and Tailwind implementations with timing, easing and accessibility notes.

Topics

Resources

Security policy

Stars

51 stars

Watchers

0 watching

Forks

Repository files navigation

microinteractions.dev

Live at microinteractions.dev. Built by Juan Di Nella, Design Engineer, open to remote work.

A library of small UI behavior studies. Each study pairs a live demo with its timing, an inspector, a short article, and the full source. Every one works with the keyboard and respects reduced motion.

Use a study

Each study installs into a React project with Tailwind CSS v4 and shadcn/ui, and takes its colors from your theme tokens:

npx shadcn@latest add https://microinteractions.dev/r/hold-confirm.json
import { HoldConfirmButton } from '@/components/hold-confirm';

<HoldConfirmButton onConfirm={() => deleteProject()} />

To install by name, add the registry to your components.json:

{
  "registries": {
    "@microinteractions": "https://microinteractions.dev/r/{name}.json"
  }
}
npx shadcn@latest add @microinteractions/hold-confirm

Not using React? Each study page also has the original Astro source, styled with plain CSS or Tailwind, ready to copy.

For agents

Install the skill, and your coding agent finds the study that fits, adds it to your project, and checks it:

npx skills@latest add https://microinteractions.dev

/llms.txt indexes the collection, every page is available as Markdown with Accept: text/markdown, and /api.md describes the endpoints.

License

Code is released under the MIT License.

About

Study microinteractions in slow motion: CSS and Tailwind implementations with timing, easing and accessibility notes.

Topics

Resources

Security policy

Stars

51 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages