Skip to content

Kiranism/next-shadcn-dashboard-starter

Repository files navigation

Admin Dashboard Starter Template with Next.js & Shadcn UI

Built with the Next.js 16 App Router, Tailwind CSS & Shadcn UI components


Shadcn Dashboard Cover

Overview

This is an admin dashboard starter template built with Next.js 16, Shadcn UI, and Tailwind CSS.

It gives you a production-ready dashboard UI with authentication, charts, tables, forms, and a feature-based folder structure, perfect for SaaS apps, internal tools, and admin panels.

Tech Stack

This template uses the following stack:

If you are looking for a Tanstack start dashboard template, here is the repo.

Features

  • 🧱 Pre-built admin dashboard layout (sidebar, header, content area)

  • 📊 Analytics overview page with cards and charts

  • 📋 Data tables with server-side search, filter & pagination

  • 🔐 Authentication & user management via Clerk

  • 🧩 Shadcn UI components with Tailwind CSS styling

  • 🧠 Feature-based folder structure for scalable projects

  • ⚙️ Ready for SaaS dashboards, internal tools, and client admin panels

Use Cases

You can use this Next.js + Shadcn UI dashboard starter to build:

  • SaaS admin dashboards

  • Internal tools & operations panels

  • Analytics dashboards

  • Client project admin panels

  • Boilerplate for new Next.js admin UI projects

Pages

Pages Specifications
Signup / Signin Authentication with Clerk provides secure authentication and user management with multiple sign-in options including passwordless authentication, social logins, and enterprise SSO - all designed to enhance security while delivering a seamless user experience.
Dashboard Overview Cards with Recharts graphs for analytics. Parallel routes in the overview sections feature independent loading, error handling, and isolated component rendering.
Product List (Table) Tanstack tables with server side searching, filter, pagination by Nuqs which is a Type-safe search params state manager in nextjs
Create Product Form A Product Form with shadcn form (react-hook-form + zod).
Profile Clerk's full-featured account management UI that allows users to manage their profile and security settings
Kanban Board A Drag n Drop task management board with dnd-kit and zustand to persist state locally.
Not Found Not Found Page Added in the root level
Global Error A centralized error page that captures and displays errors across the application. Integrated with Sentry to log errors, provide detailed reports, and enable replay functionality for better debugging.

Feature based organization

src/
├── app/ # Next.js App Router directory
│ ├── (auth)/ # Auth route group
│ │ ├── (signin)/
│ ├── (dashboard)/ # Dashboard route group
│ │ ├── layout.tsx
│ │ ├── loading.tsx
│ │ └── page.tsx
│ └── api/ # API routes
│
├── components/ # Shared components
│ ├── ui/ # UI components (buttons, inputs, etc.)
│ └── layout/ # Layout components (header, sidebar, etc.)
│
├── features/ # Feature-based modules
│ ├── feature/
│ │ ├── components/ # Feature-specific components
│ │ ├── actions/ # Server actions
│ │ ├── schemas/ # Form validation schemas
│ │ └── utils/ # Feature-specific utilities
│ │
├── lib/ # Core utilities and configurations
│ ├── auth/ # Auth configuration
│ ├── db/ # Database utilities
│ └── utils/ # Shared utilities
│
├── hooks/ # Custom hooks
│ └── use-debounce.ts
│
├── stores/ # Zustand stores
│ └── dashboard-store.ts
│
└── types/ # TypeScript types
└── index.ts

Getting Started

Note

This admin dashboard starter uses Next.js 16 (App Router) with React 19 and Shadcn UI. Follow these steps to run it locally:

Clone the repo:

git clone https://github.com/Kiranism/next-shadcn-dashboard-starter.git
  • bun install
  • Create a .env.local file by copying the example environment file: cp env.example.txt .env.local
  • Add the required environment variables to the .env.local file.
  • bun run dev
Environment Configuration Setup

To configure the environment for this project, refer to the env.example.txt file. This file contains the necessary environment variables required for authentication and error tracking.

You should now be able to access the application at http://localhost:3000.

Warning

After cloning or forking the repository, be cautious when pulling or syncing with the latest changes, as this may result in breaking conflicts.

Cheers! 🥂

Star History

Star History Chart

Releases

No releases published

Sponsor this project

Packages

No packages published