# Motion-Primitives — card for AI agents

Open-source UI kit of animated React components (text effects, carousels, dialogs, morphing) built with Motion; copy-paste.

Category: Website sections and blocks (also: UI animation (Lottie, Rive)) · maker ibelick · checked 2026-11-05 · style: minimal

## Price
- Price: Free
- Free tier: Fully free (as reported).

## License
MIT — https://raw.githubusercontent.com/ibelick/motion-primitives/main/LICENCE.md

- commercial: **yes** (Commercial use OK)
  > Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software
  (https://raw.githubusercontent.com/ibelick/motion-primitives/main/LICENCE.md)
- attribution: **no** (No credit needed)
  > The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
  (https://raw.githubusercontent.com/ibelick/motion-primitives/main/LICENCE.md)
- in app: **yes** (Can ship inside your app)
  > Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software
  (https://raw.githubusercontent.com/ibelick/motion-primitives/main/LICENCE.md)
- redistribute: **yes** (Can pass the files on to your own users)
  > Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software
  (https://raw.githubusercontent.com/ibelick/motion-primitives/main/LICENCE.md)

## Rules to follow
- Keep the MIT copyright notice in the code if you redistribute it.
- No visible credit on the site is required by the licence.

## Can an AI agent use it by itself?
**Yes** · copy-code: Agent copies the code, snippet or prompt from the page (no account)

## How an agent gets files
- Copy the component code from motion-primitives.com docs (or install via shadcn CLI if offered on the page); no account. (sign-in: none)
- Formats: tsx
- Not allowed: Needs Motion + Tailwind

## How to connect
- Download only
- Repository: https://github.com/ibelick/motion-primitives
- Website: https://motion-primitives.com

## Notes
Animation components rather than full sections.

## Numbers (AgentGid data)
- Gid Score: 29
- GitHub stars: 6,979

## Lines to paste into your prompt or AGENTS.md

```
- Motion-Primitives (Website sections and blocks, UI animation (Lottie, Rive)). Open-source UI kit of animated React components (text effects, carousels, dialogs, morphing) built with Motion; copy-paste. Price: free; commercial use OK; no credit needed. Style: minimal.
  Connect: download from https://motion-primitives.com (no API).
  Get files: Copy the component code from motion-primitives.com docs (or install via shadcn CLI if offered on the page); no account (tsx).
  Not allowed: Needs Motion + Tailwind
  Rule: Keep the MIT copyright notice in the code if you redistribute it.
  Rule: No visible credit on the site is required by the licence.
  License: https://raw.githubusercontent.com/ibelick/motion-primitives/main/LICENCE.md (checked 2026-11-05; details: https://agentgid.com/assets/motion-primitives/)
```

## Links
- AgentGid page: https://agentgid.com/assets/motion-primitives/
- Is it free for commercial use? https://agentgid.com/assets/motion-primitives/commercial-use/
- Source: https://motion-primitives.com/
- Source: https://github.com/ibelick/motion-primitives


## Motion-Primitives: small animated pieces for React sites

Motion-Primitives is a free set of small animated pieces for React websites. Examples are text that fades in letter by letter, numbers that count up, endless scrolling strips and cards that open smoothly. You or your AI assistant copy each piece into the project and adjust it. It uses the Motion animation library and Tailwind CSS, and the code is free for paid products.

### Where to use it
- A headline that writes itself in: Let the main headline of a landing page appear letter by letter or word by word when the page opens.
- Numbers that count up: Make a key number on a pricing, about or stats page, such as users or orders, roll up from zero to its value.
- An endless strip of features or logos: Run a row of feature names, customer logos or photos that scrolls by itself without end, and slows down when the pointer is over it.
- A waiting message for AI answers: Show a softly shining line such as "Generating..." while an AI feature in your app prepares its answer.
- Before and after pictures: Let visitors drag a handle across two photos to compare them, for example a room before and after a makeover.
- Product cards that open up: Turn a small card in a shop or portfolio grid into a larger view with details when it is clicked, and close it with Escape.

### How to start
- Set up Tailwind CSS, add the Motion library, and create the small cn helper file the components import.

```
npm install motion
```

- Add a component with the project's own command, or copy its code from the component page by hand.

```
npx motion-primitives@latest add text-effect
```

- Or add it through the shadcn command with the component's address.

```
npx shadcn add "https://motion-primitives.com/c/in-view.json"
```


### License
MIT license: free for personal and paid products, and no credit on your site is needed. If you pass the code itself on, keep the short copyright and license notice with it.

### Good to know
- The project calls itself beta: new pieces arrive often and the code can change a lot. Keep your own copy and update it on purpose.
- Every piece needs React, Tailwind CSS and the Motion library in your project.
- Some pieces need one more small library; the endless strip, for example, also needs react-use-measure.
- The site also links to a separate Pro product with premium sections and templates, which the free code does not include.

Checked 2026-11-09 against: https://motion-primitives.com/, https://motion-primitives.com/docs, https://motion-primitives.com/docs/installation, https://motion-primitives.com/docs/text-effect, https://motion-primitives.com/docs/text-loop, https://motion-primitives.com/docs/text-shimmer, https://motion-primitives.com/docs/animated-number, https://motion-primitives.com/docs/infinite-slider, https://motion-primitives.com/docs/image-comparison, https://motion-primitives.com/docs/morphing-dialog, https://motion-primitives.com/docs/scroll-progress, https://motion-primitives.com/docs/in-view, https://motion-primitives.com/c/text-effect.json, https://motion-primitives.com/c/infinite-slider.json, https://pro.motion-primitives.com/, https://raw.githubusercontent.com/ibelick/motion-primitives/main/README.md, https://raw.githubusercontent.com/ibelick/motion-primitives/main/LICENCE.md, https://github.com/ibelick/motion-primitives, https://registry.npmjs.org/motion/14.11.1, https://registry.npmjs.org/motion-primitives

### Mistakes to avoid
- Don't: import { TextEffect } from 'motion-primitives' → Do: Add the component (CLI or copy) and import it from your own folder, e.g. '@/components/core/text-effect' (The components are copied into the project; the motion-primitives npm package is only the command that copies them.)
- Don't: Copying a component by hand without installing motion → Do: npm install motion and import from 'motion/react' as the component files do (Every component imports motion/react and fails to build without the package.)
- Don't: Copying infinite-slider.tsx by hand and installing only motion → Do: Also install react-use-measure (the registry file lists every package a component needs) (The slider measures its content with react-use-measure; our demo could not load it without that package.)
- Don't: Leaving out lib/utils.ts with the cn helper → Do: Create lib/utils.ts with cn() built from clsx and tailwind-merge, and the @/ path alias (The components import cn from @/lib/utils.)

### Questions
- Can I use Motion-Primitives in a paid product? Yes. The code is under the MIT license, which allows using, changing and selling copies; keep the notice with the code.
- Is it a package I install? No package holds the pieces. A small command or a copy from the docs page puts each piece's code into your project.
- What do I need in my project first? React, Tailwind CSS, the motion package and a small cn helper file; the docs also suggest Lucide icons.
- Are all pieces built on Motion? Yes, every piece uses Motion today; versions with only CSS and Tailwind are a stated future plan.

---
AgentGid's catalog is curated: every entry was checked against the maker's official pages (registry, repository, license and pricing pages) on the date shown; a license value shows the quote it stands on wherever AgentGid has one. Usage numbers come from AgentGid's own scan of public repositories set up for AI coding agents. Claims by makers are reported, not tested by AgentGid.
