Skip to content

reoring/next-shadcn-admin

Repository files navigation

Next.js Shadcn Admin Dashboard

Dashboard Preview

A modern admin dashboard UI built with Next.js and Shadcn UI. This project is a Next.js port of the original Shadcn Admin Dashboard by @satnaing, adapted to leverage Next.js features while maintaining the original's elegant design and functionality. The project has been restructured to use the Next.js App Router, providing better performance and developer experience while keeping all the powerful features of the original dashboard.

Features

  • 🌓 Light/Dark mode support
  • 📱 Fully responsive design
  • ♿️ Accessible components
  • 🧭 Built-in Sidebar component
  • 🔍 Global Search Command (⌘K)
  • 📄 10+ pre-built pages
  • 🧩 Extra custom components
  • 📊 Dashboard analytics
  • 📋 Data tables with advanced features
  • 👥 Team management
  • 🔐 Authentication layouts

Tech Stack

Getting Started

  1. Clone the repository:
git clone https://github.com/reoring/next-shadcn-admin.git
  1. Navigate to the project directory:
cd next-shadcn-admin
  1. Install dependencies:
pnpm install
  1. Start the development server:
pnpm dev
  1. Open http://localhost:3000 in your browser to see the result.

Project Structure

src/
├── app/                   # Next.js app router
│   ├── (auth)/           # Authentication routes
│   ├── (dashboard)/      # Dashboard routes
│   └── (errors)/         # Error pages
├── components/
│   ├── dashboard/        # Dashboard-specific components
│   ├── data-table/       # Advanced table components
│   ├── layout/          # Layout components (sidebar, header)
│   └── ui/              # Shadcn UI components
├── context/              # React Context providers
├── hooks/                # Custom React hooks
└── lib/                  # Utility functions

Key Components

  • Dashboard Overview: Analytics charts and recent sales data
  • Data Tables: Advanced tables with sorting, filtering, and pagination
  • Team Switcher: Easy organization switching
  • Command Menu: Quick navigation and actions (⌘K)
  • Profile Dropdown: User account management
  • Theme Switch: Light/dark mode toggle
  • Responsive Sidebar: Collapsible navigation menu

Customization

The project uses Shadcn UI components which are fully customizable. You can modify the design system by editing:

  • tailwind.config.ts for theme customization
  • components.json for component configurations
  • Individual components in src/components/ui

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

Credits

This project is a Next.js adaptation of the original Shadcn Admin Dashboard created by @satnaing.

License

Licensed under the MIT License. See LICENSE for more information.

About

Admin Dashboard UI built with Shadcn and Next.js.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages