MCPcopy Index your code
hub / github.com/arhamkhnz/next-shadcn-admin-dashboard-baseui

github.com/arhamkhnz/next-shadcn-admin-dashboard-baseui @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
715 symbols 1,826 edges 270 files 0 documented · 0%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Next.js Admin Template with TypeScript & Shadcn UI

Studio Admin - Includes multiple dashboards, authentication layouts, customizable theme presets, and more.

Dashboard Screenshot

Most admin templates I found, free or paid, felt cluttered, outdated, or too rigid. I built this as a cleaner alternative with features often missing in others, such as theme toggling and layout controls, while keeping the design modern, minimal, and flexible.

View demo: studio admin

[!NOTE] Looking for the Radix UI version? Check out next-shadcn-admin-dashboard.

[!TIP] I’m also working on Nuxt.js, Svelte, and React (Vite + TanStack Router) versions of this dashboard. They’ll be live soon.

Features

  • Built with Next.js 16, TypeScript, Tailwind CSS v4, and Shadcn UI
  • Responsive and mobile-friendly
  • Customizable theme presets (light/dark modes with color schemes like Tangerine, Brutalist, and more)
  • Flexible layouts (collapsible sidebar, variable content widths)
  • Authentication flows and screens
  • Prebuilt dashboards (Default, CRM, Finance, Analytics, Productivity) plus legacy variants
  • Role-Based Access Control (RBAC) with config-driven UI and multi-tenant support (planned)

[!NOTE] The default dashboard uses the shadcn neutral theme.
It also includes additional color presets inspired by Tweakcn:

  • Tangerine
  • Neo Brutalism
  • Soft Pop

You can create more presets by following the same structure as the existing ones.

Tech Stack

  • Framework: Next.js 16 (App Router), TypeScript, Tailwind CSS v4
  • UI Components: Shadcn UI
  • Validation: Zod
  • Forms & State Management: React Hook Form, Zustand
  • Tables & Data Handling: TanStack Table
  • Tooling & DX: Biome, Husky

Screens

Available

  • Default Dashboard
  • CRM Dashboard
  • Finance Dashboard
  • Analytics Dashboard
  • Productivity Dashboard
  • E-commerce Dashboard
  • Academy Dashboard
  • Logistics Dashboard
  • Infrastructure Dashboard
  • Email Page
  • Chat Page
  • Calendar Page
  • Kanban Board
  • Invoice Page
  • Users Management
  • Roles Management
  • Authentication (4 screens)
  • Legacy: Default v1, CRM v1, Finance v1, Analytics v1

Planned

  • I've added all the planned screens. Feel free to open an issue for requesting something specific.

Colocation File System Architecture

This project follows a colocation-based architecture each feature keeps its own pages, components, and logic inside its route folder.
Shared UI, hooks, and configuration live at the top level, making the codebase modular, scalable, and easier to maintain as the app grows.

For a full breakdown of the structure with examples, see the Next Colocation Template.

Getting Started

You can run this project locally, or deploy it instantly with Vercel.

Deploy with Vercel

Deploy with Vercel

Deploy your own copy with one click.

Run locally

  1. Clone the repository bash git clone https://github.com/arhamkhnz/next-shadcn-admin-dashboard-baseui.git

  2. Navigate into the project bash cd next-shadcn-admin-dashboard-baseui

  3. Install dependencies bash npm install

  4. Start the development server bash npm run dev

Your app will be running at http://localhost:3000

Formatting and Linting

Format, lint, and organize imports

npx @biomejs/biome check --write

For more information on available rules, fixes, and CLI options, refer to the Biome documentation.


[!IMPORTANT]
This project is updated frequently. If you’re working from a fork or an older clone, pull the latest changes before syncing. Some updates may include breaking changes.


Contributions are welcome. Feel free to open issues, feature requests, or start a discussion.

Happy Vibe Coding!

Extension points exported contracts — how you extend this code

DateRangePickerProps (Interface)
(no doc)
src/components/date-range-picker.tsx
ChatConversationListProps (Interface)
(no doc)
src/app/(main)/chat/_components/chat-conversation-list.tsx
NavSubItem (Interface)
(no doc)
src/navigation/sidebar/sidebar-items.ts
ChatThreadProps (Interface)
(no doc)
src/app/(main)/chat/_components/chat-thread.tsx
NavItemBase (Interface)
(no doc)
src/navigation/sidebar/sidebar-items.ts
ChatProfileDetailsProps (Interface)
(no doc)
src/app/(main)/chat/_components/chat-profile-details.tsx
NavMainLinkItem (Interface)
(no doc)
src/navigation/sidebar/sidebar-items.ts
ChatProps (Interface)
(no doc)
src/app/(main)/chat/_components/chat.tsx

Core symbols most depended-on inside this repo

cn
called by 429
src/lib/utils.ts
formatCurrency
called by 25
src/lib/utils.ts
getInitials
called by 16
src/lib/utils.ts
dt
called by 16
src/app/(main)/dashboard/calendar/_components/events-data.ts
daysAgo
called by 15
src/app/(main)/mail/_components/data.tsx
useSidebar
called by 11
src/components/ui/sidebar.tsx
getNumber
called by 9
src/app/(main)/dashboard/ecommerce/_components/traffic-sources.tsx
findColumnId
called by 6
src/app/(main)/dashboard/kanban/_components/utils.ts

Shape

Function 682
Interface 33

Languages

TypeScript100%

Modules by API surface

src/components/ui/sidebar.tsx25 symbols
src/app/(main)/dashboard/_components/sidebar/nav-main.tsx18 symbols
src/components/ui/menubar.tsx16 symbols
src/components/ui/combobox.tsx16 symbols
src/components/ui/dropdown-menu.tsx15 symbols
src/components/ui/context-menu.tsx15 symbols
src/components/ui/drawer.tsx12 symbols
src/components/ui/alert-dialog.tsx12 symbols
src/app/(main)/dashboard/invoice/_components/data.ts12 symbols
src/components/ui/sheet.tsx10 symbols
src/components/ui/item.tsx10 symbols
src/components/ui/field.tsx10 symbols

For agents

$ claude mcp add next-shadcn-admin-dashboard-baseui \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact