Getting started
Introduction
What MotionUIKit is, what's in the library, and how to get your first component into a project.
MotionUIKit is a library of animated React and Tailwind CSS components, website sections and templates. Preview each one live on motionuikit.io, customize it, and add it to your project with one command:
npx motionuikit@latest add perspective-marqueeWhat you get is source code in your own project, not a package you depend on. The files are yours to read, edit and ship. There is no MotionUIKit runtime to update, and nothing breaks if you stop using the CLI.
What's in the library
| Type | What it is | Example | Comes as |
|---|---|---|---|
| Components | One animated piece of UI you drop into a page: a button, a background, a text or image effect | perspective-marquee, meteor-grid | React |
| Sections | A complete hero section, with its own navigation, styles, images and animation | forma, arcline | React |
| Templates | A complete website, ready to run and deploy | kestrel, aura | A Next.js project |
Each resource is Free or Pro. Free ones work on every account; Pro ones need a paid plan. Use npx motionuikit@latest list to see every name, or browse the website.
How it's built
- React and TypeScript. Components and sections are written in TypeScript. In a JavaScript project, the CLI converts them to
.jsxand.jsas it installs them. - Tailwind CSS v4. Styles are Tailwind classes. Each section also ships its own stylesheet, so its colors and fonts never change the rest of your site.
- Motion and WebGL. Animations use Motion and CSS. The 3D ones, such as
meteor-grid, use Three.js with React Three Fiber. The npm packages a resource needs are installed with it. - Works in Next.js, Vite and Astro. The CLI sets up the
@/import alias, Tailwind v4 and, in Astro, React when your project is missing them. See Project setup.
Three ways to get a resource
Every resource page has a Get this button with these options:
- Install with the CLI.
npx motionuikit@latest add <name>writes the files into your project and installs their npm packages. This is the recommended way. See CLI. - Copy the source. For a component, copy its file straight from the page and paste it into your project. You install its npm packages yourself; the page names them.
- Copy an AI prompt. Paste it into Lovable, v0, Bolt, Cursor, Claude or any AI tool with a terminal. The prompt installs the resource with the CLI and puts it on your page.
Templates are downloaded instead, from the website, with the CLI or with an AI prompt. Each one arrives as a new project folder.
Components have a Customize panel on their page. Change their colors, fonts and motion in the live preview, and save the looks you like as variants on your account.
Quick start
Create a free account
Sign up at motionuikit.io. Copying code and installing need an account, free resources included. Browsing and live previews don't.
Copy your API key
Open Account settings → API and copy your key. The CLI asks for it the first time and saves it in your project's
.env, which is kept out of git.Add a component
Run this in your project's folder (Node.js 20 or newer). The first time, it asks a few questions about your project and saves the answers in
motionuikit.config.json.npx motionuikit@latest add perspective-marqueeUse it
The component lands in
components/motionuikit/ui/perspective-marquee.tsx(undersrc/if your project has one). Import it with the@/alias and put it on a page.
import PerspectiveMarquee from '@/components/motionuikit/ui/perspective-marquee'
export default function Page() {
return <PerspectiveMarquee />
}Sections work the same way: add forma writes a forma folder to components/motionuikit/sections/, and you import @/components/motionuikit/sections/forma.
Plans and limits
Every account starts on the Free plan. Paid plans unlock Pro resources and raise the daily limits on how many components, sections and templates you can copy, install or download. Solo plans have one seat; Agency and Enterprise plans are shared with a team. Everything you get is yours to keep, even after a plan ends.
See Plans & limits and the License for the details.