Getting Started

Installation

Install Nuxt Motion Block — prerequisites, the nuxi command and the modules it registers.

Prerequisites

Nuxt Motion Block requires:

@nuxt/ui and motion-v are installed automatically when you add the module with nuxi module add; if you add the module by hand, install them yourself.

Installation

Install Nuxt Motion Block with one command — pick your package manager, or open the Agents tab for a ready-to-paste prompt for AI coding agents:

pnpm add nuxt-motion-block

Or let Nuxt do it for you:

npx nuxi module add nuxt-motion-block

Adding the Module

The command above registers the module for you. If you installed it manually, add it to nuxt.config.ts:

nuxt.config.ts
export default defineNuxtConfig({
  modules: [
    '@nuxt/ui',
    'motion-v/nuxt',
    'nuxt-motion-block'
  ]
})

That's it. Every component is auto-registered with the M prefix, and the CSS is already included.