# @premieroctet/next-admin

> Next-Admin provides a customizable and turnkey admin dashboard for applications built with Next.js and powered by the Prisma ORM. It aims to simplify the development process by providing a turnkey admin system that can be easily integrated into your proje

Latest version **8.4.3** (published 2026-11-27) · MIT license · 0 weekly downloads

## Install

```sh
npm install @premieroctet/next-admin
pnpm add @premieroctet/next-admin
yarn add @premieroctet/next-admin
bun add @premieroctet/next-admin
```

## Health

**Score 60/100 (C)** — status: active.

Positive: esm support; no vulnerabilities; recently updated; high maintenance score.

Warnings: low downloads; no types.

## Facts

| | |
|---|---|
| Version | 8.4.3 |
| Published | 2026-11-27 |
| First published | 2023-03-28 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | ESM |
| Dependencies | 41 |
| Unpacked size | 1.4 MB |
| Known vulnerabilities | 0 (+3 in 3 direct dependencies) |
| Install scripts | no |
| GitHub stars | 502 |
| Author | Premier Octet |
| Maintainers | shinework, foyarash, regourdco, qgrancher, thibz |
| Keywords | next.js, nextjs, prisma, prisma-orm, admin, admin-panel, admin-dashboard, dashboard, back-office, backoffice, crud, cms, internal-tools, nextjs-admin, prisma-admin, remix, tanstack-start, tailwindcss, react, typescript |

## Links

- npm: https://www.npmjs.com/package/@premieroctet/next-admin
- Repository: https://github.com/premieroctet/next-admin
- Homepage: https://next-admin.js.org/
- Issues: https://github.com/premieroctet/next-admin/issues
- npm.io page: https://npm.io/package/@premieroctet/next-admin

## Dependencies (41)

- [zod](https://npm.io/package/zod.md) ^3.23.8
- [clsx](https://npm.io/package/clsx.md) ^1.2.1
- [util](https://npm.io/package/util.md) ^0.12.5
- [csstype](https://npm.io/package/csstype.md) ^3.1.3
- [nprogress](https://npm.io/package/nprogress.md) ^0.2.0
- [@rjsf/core](https://npm.io/package/@rjsf/core.md) 6.0.0-beta.11
- [formidable](https://npm.io/package/formidable.md) ^3.5.1
- [lodash.get](https://npm.io/package/lodash.get.md) ^4.4.2
- [lodash.set](https://npm.io/package/lodash.set.md) ^4.3.2
- [@rjsf/utils](https://npm.io/package/@rjsf/utils.md) 6.0.0-beta.11
- [body-parser](https://npm.io/package/body-parser.md) ^1.20.2
- [next-themes](https://npm.io/package/next-themes.md) ^0.3.0
- [lodash.merge](https://npm.io/package/lodash.merge.md) ^4.6.2
- [lodash.range](https://npm.io/package/lodash.range.md) ^3.2.0
- [lodash.unset](https://npm.io/package/lodash.unset.md) ^4.5.2
- [next-connect](https://npm.io/package/next-connect.md) ^1.0.0
- [@dnd-kit/core](https://npm.io/package/@dnd-kit/core.md) ^6.1.0
- [@picocss/pico](https://npm.io/package/@picocss/pico.md) ^1.5.7
- [lodash.sortby](https://npm.io/package/lodash.sortby.md) ^4.7.0
- [lodash.update](https://npm.io/package/lodash.update.md) ^4.10.2
- [tailwind-merge](https://npm.io/package/tailwind-merge.md) ^2.3.0
- [lodash.debounce](https://npm.io/package/lodash.debounce.md) ^4.0.8
- [@heroicons/react](https://npm.io/package/@heroicons/react.md) ^2.2.0
- [lodash.clonedeep](https://npm.io/package/lodash.clonedeep.md) ^4.5.0
- [nextjs-toploader](https://npm.io/package/nextjs-toploader.md) ^1.6.6
- [@dnd-kit/sortable](https://npm.io/package/@dnd-kit/sortable.md) ^8.0.0
- [@headlessui/react](https://npm.io/package/@headlessui/react.md) ^2.1.5
- [@types/formidable](https://npm.io/package/@types/formidable.md) ^3.4.5
- [@dnd-kit/utilities](https://npm.io/package/@dnd-kit/utilities.md) ^3.2.2
- [@radix-ui/react-slot](https://npm.io/package/@radix-ui/react-slot.md) ^1.1.0
- [@rjsf/validator-ajv8](https://npm.io/package/@rjsf/validator-ajv8.md) 6.0.0-beta.7
- [@tanstack/react-table](https://npm.io/package/@tanstack/react-table.md) ^8.9.2
- [dnd-kit-sortable-tree](https://npm.io/package/dnd-kit-sortable-tree.md) ^0.1.73
- [@radix-ui/react-dialog](https://npm.io/package/@radix-ui/react-dialog.md) ^1.0.5
- [@radix-ui/react-select](https://npm.io/package/@radix-ui/react-select.md) ^2.1.2
- [@radix-ui/react-switch](https://npm.io/package/@radix-ui/react-switch.md) ^1.0.3
- [@radix-ui/react-tooltip](https://npm.io/package/@radix-ui/react-tooltip.md) ^1.0.7
- [@radix-ui/react-checkbox](https://npm.io/package/@radix-ui/react-checkbox.md) ^1.1.1
- [class-variance-authority](https://npm.io/package/class-variance-authority.md) ^0.6.0
- [@radix-ui/react-dropdown-menu](https://npm.io/package/@radix-ui/react-dropdown-menu.md) ^2.0.6
- [@radix-ui/react-visually-hidden](https://npm.io/package/@radix-ui/react-visually-hidden.md) ^1.1.1

## Alternatives

- [mobx-react](https://npm.io/package/mobx-react.md) — 2.8M weekly downloads
- [rc-tree](https://npm.io/package/rc-tree.md) — 2.6M weekly downloads
- [@react-oauth/google](https://npm.io/package/@react-oauth/google.md) — 1.3M weekly downloads
- [@wagmi/connectors](https://npm.io/package/@wagmi/connectors.md) — 877.0K weekly downloads
- [vee-validate](https://npm.io/package/vee-validate.md) — 836.4K weekly downloads

## Recent versions

- 8.4.3 (latest) — 2026-11-27
- 7.0.0-rc.4 (rc) — 2024-11-13
- 6.1.8-beta.0 (beta) — 2024-11-07
- 8.4.2 — 2026-01-02
- 8.4.1 — 2025-11-17
- 8.4.0 — 2025-11-17
- 8.3.0 — 2025-07-15
- 8.2.1 — 2025-06-12
- 8.2.0 — 2025-06-10
- 8.1.4 — 2025-05-26
- 8.1.3 — 2025-05-26
- 8.1.2 — 2025-05-22
- 8.1.1 — 2025-05-21
- 8.1.0 — 2025-05-20
- 8.0.0 — 2025-05-19
- … 110 more at https://npm.io/package/@premieroctet/next-admin/versions

## README

<div align="center">

# Next Admin

**Open-source admin panel for Next.js and Prisma**

[![npm version](https://img.shields.io/npm/v/@premieroctet/next-admin/latest)](https://www.npmjs.com/package/@premieroctet/next-admin)
[![npm downloads](https://img.shields.io/npm/dm/@premieroctet/next-admin)](https://www.npmjs.com/package/@premieroctet/next-admin)
[![License](https://img.shields.io/badge/License-MIT-green.svg)](https://opensource.org/licenses/MIT)

[Documentation](https://next-admin.js.org/docs) · [Live demo](https://next-admin-po.vercel.app) · [Getting started](https://next-admin.js.org/docs/getting-started) · [Changelog](https://next-admin.js.org/changelog)

<a href="https://next-admin-po.vercel.app">
  <img src="https://next-admin.js.org/screenshot.png" alt="Next Admin dashboard showing a users list with sidebar navigation, search, pagination and an Add button" />
</a>

</div>

Next Admin turns your Prisma schema into a customizable admin dashboard and back-office for your app. It gives you list and edit views, relationship management, search, filters, CSV export and custom pages, and works with the Next.js App Router and Pages Router, Remix and TanStack Start.

## Features

- 💅 Customizable admin dashboard
- 💽 Database relationships management
- 👩🏻‍💻 User management (CRUD operations)
- 🎨 Dashboard widgets and customizable panels
- ⚛️ Integration with Prisma ORM
- 👔 Customizable list and form
- ⚙️ Support for Next.js (App Router and Pages Router), Remix, TanStack Start
- 🚀 Support for any full stack framework

## Installation

### With the CLI

```shell copy
npx @premieroctet/next-admin-cli@latest init
```

### Manually

To install the library, run the following command:

```shell copy
yarn add @premieroctet/next-admin @premieroctet/next-admin-generator-prisma
```

## Documentation

For detailed documentation, please refer to the [documentation](https://next-admin.js.org/docs).

## Usage

To use the library in your Next.js application, follow these steps:

1. Add tailwind preset to your `tailwind.config.js` file - [more details](https://next-admin.js.org/docs/getting-started#tailwindcss)
2. Add json schema generator to your Prisma schema file - [more details](https://next-admin.js.org/docs/getting-started#prisma)
3. Generate the schema with `yarn run prisma generate`
4. Create a catch-all segment page `page.tsx` in the `app/admin/[[...nextadmin]]` folder - [more details](https://next-admin.js.org/docs/getting-started)
5. Create an catch-all API route `route.ts` in the `app/api/[[...nextadmin]]` folder - [more details](https://next-admin.js.org/docs/getting-started)

Bonus: Customize the admin dashboard by passing the `NextAdminOptions` options to the router and customize the admin dashboard by passing `dashboard` props to `NextAdmin` component. (More details in the [documentation](https://next-admin.js.org/docs/getting-started#next-admin-options---optional))

## What does it look like?

<table>
  <tr>
    <th>List view</th>
    <th>Edit view</th>
  </tr>
  <tr>
    <td><img src="https://next-admin.js.org/docs/list-view.png" alt="Users list in dark mode with search, quick filters, CSV export and pagination" /></td>
    <td><img src="https://next-admin.js.org/docs/edit-view.png" alt="User edit form in dark mode with a validation notice, relation picker, enum select, file upload and JSON editor" /></td>
  </tr>
</table>

Everything is configured from a single options object:

```tsx
// app/admin/options.ts
import { NextAdminOptions } from "@premieroctet/next-admin";

export const options: NextAdminOptions = {
  title: "⚡️ My Admin Page",
  model: {
    User: {
      toString: (user) => `${user.name} (${user.email})`,
      list: {
        search: ["name", "email"],
        filters: [
          { name: "is Admin", active: false, value: { role: { equals: "ADMIN" } } },
        ],
      },
    },
  },
};
```

See the [options reference](https://next-admin.js.org/docs/api/options) and [model configuration](https://next-admin.js.org/docs/api/model-configuration) for everything you can customize.

## Sponsors

This project is being developed by [Premier Octet](https://www.premieroctet.com), a Web and mobile agency specializing in React and React Native developments.

## License

This library is open source and released under the [MIT License](https://opensource.org/licenses/MIT).

---
_Source: https://npm.io/package/@premieroctet/next-admin · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
