Getting started

Sections

A guide to installing a section, using it in your page and making it yours.

What is a MotionUIKit section?

A section is a ready-made, animated block for your website, such as a hero, features or pricing. It comes with its own styles, images and fonts, installs as code in your project, and renders with one tag.

  • One-command install: the CLI writes its files and images, and installs its npm packages.
  • Works with your stack: Next.js, React + Vite or Astro, in TypeScript or JavaScript.
  • Animated: each section has its own motion.
  • Responsive: built for desktop, tablet and mobile.
  • Fonts included: they load from Google Fonts, with nothing to set up.

How do I get a section?

  1. Sign in. Free sections need an account too, and Pro sections need a paid plan.
  2. Open the Sections page and pick a section.
  3. Check it in the Preview and Code tabs, if you like.
  4. Click Get this Section and choose an option:
OptionWhat it does
CLIWrites the section into your project and installs its packages. Recommended.
AI PromptA prompt for Lovable, v0, Bolt, Cursor or Claude that installs and renders it.
MCPA plugin for AI editors. Coming soon.

Installation

Before you start, you need:

  • A React project: Next.js, React + Vite or Astro.
  • Node.js 20 or later.
  • Tailwind CSS v4. If your project doesn't have it, or is on v3, the CLI offers to set it up. See Project setup.

Step 1: Run add in your project's folder:

npx motionuikit@latest add forma

Step 2: Answer the setup questions. Only the first run asks them:

  • Which app? The app to install into. Asked only at a monorepo's root.
  • Framework: react (default).
  • TypeScript? Yes, or No in a JavaScript project, which installs .jsx files.
  • Set up a monorepo? No (default). Asked only in a workspace.
  • Components import alias: press Enter for @/components/motionuikit.
  • Set up the @/ alias? Yes (default). Asked only when it's missing.
  • Set up Tailwind v4? Yes (default). Asked only when it's missing.
  • API key: paste it from Account settings → API, or leave it blank to add later.

Your answers are saved in motionuikit.config.json, and the key in .env. Add --yes to init to accept every default. See CLI for every option.

Step 3: Use it in your page. Import the section and render it full width:

app/page.tsx
import Forma from '@/components/motionuikit/sections/forma'

export default function Page() {
  return <Forma />
}

AI prompt

Step 1: Choose your stack in the dialog: Next.js, React + Vite or Astro, and TypeScript or JavaScript. A section with an HTML version also offers HTML.

Step 2: Copy the prompt and paste it into Lovable, v0, Bolt, Cursor or Claude.

The AI tool installs the section with the CLI and renders it full width on your main page. If the project doesn't exist yet, the prompt has the tool create it first.

With HTML, the section is one page, sections/<name>.html, with Tailwind CSS and Motion loaded from a CDN, so it needs no package.json and no build. The tool makes it your index.html when you have none, and asks you first when you do.

  • The prompt contains your API key. Share it only with tools you trust.
  • Every install the prompt runs counts against your daily limit, so don't run it again once it has worked.

How do I remove a section?

npx motionuikit@latest remove forma

It deletes the section's folder, and any image no other installed section uses.

Works only with our folder structure

remove deletes the section's files from the folders add installs them in. If you moved or renamed them, or copied the code from the Code tab into a folder of your own, it can't find them. Delete those files yourself.

Usage

Every time a section is installed, it counts one use of your daily limit for sections. Components, sections and templates each have their own daily limit, so installing a section never uses a component's.

What you doCounts
add with the CLIOne use per section, every time
add again, or a free sectionOne use each
An AI promptOne use for each install it runs
Reading or copying code in the Code tabNothing
--dry-run, list, search, removeNothing
Previewing a section, on its page or in a new tabNothing
  • After every add, the CLI prints what is left, for example 3 of 5 section installs left today.
  • Limits reset every day at 00:00 UTC. When you reach one, nothing is delivered and the attempt isn't counted.
  • On a Lifetime plan, nothing is counted.
  • Check your usage in Account settings → Usage, or with remaining-usage.

See Plans & limits for each plan's limits.

Frequently asked questions

On this page