---
title: "Nuxt module"
description: "Add Boneprint to a Nuxt 3 or Nuxt 4 app."
canonical_url: "https://kukson777.github.io/boneprint/docs/getting-started/nuxt"
---
# Nuxt module

> Add Boneprint to a Nuxt 3 or Nuxt 4 app.

## Install

<code-group>

```bash [npm]
npm install boneprint
```

```bash [pnpm]
pnpm add boneprint
```

```bash [yarn]
yarn add boneprint
```

```bash [bun]
bun add boneprint
```

</code-group>

Then add the module:

```ts [nuxt.config.ts]
export default defineNuxtConfig({
  modules: ['boneprint/nuxt'],
})
```

That's all. `<Skeleton>`, `<SkeletonBox>`, `<SkeletonSuspense>`, `forgetSkeletons()` and `useInSkeleton()` are auto-imported, and the styles are added for you. Works with Nuxt 3 and Nuxt 4.

## Options

```ts [nuxt.config.ts]
export default defineNuxtConfig({
  modules: ['boneprint/nuxt'],
  boneprint: {
    reveal: 'sequence',
  },
})
```

Every option is listed on the [Options](https://kukson777.github.io/boneprint/docs/api/options) page.

## What you get with server rendering

The server sends the skeleton in the HTML, and a small inline script draws a remembered shape before the app loads. So even before JavaScript runs, blocks are the size the content will be. Next: [Quick Start](https://kukson777.github.io/boneprint/docs/getting-started/quick-start).


## Sitemap

See the full [sitemap](https://kukson777.github.io/boneprint/sitemap.md) for all pages.
