Skip to content
项目

design-sparx/antd-multipurpose-dashboard

在 GitHub 查看

关于

A free, open source, Vite, Typescript admin theme created using Ant Design 5

网站与应用开发

这些数字如何统计

可以做什么

  • Customizable: You don't need to be an expert to customize the template. Our code is very readable and well-documented.
  • Fully Responsive: With mobile, tablet & desktop support it doesn't matter what device you're using. Antd Dashboard is responsive in all browsers.
  • Cross-Browser: Our themes are working perfectly with Chrome, Firefox, Opera, and Edge. We're working hard to support them.
  • Clean Code: We strictly follow Ant Design's guidelines to make your integration as easy as possible. All code is handwritten.

实测星标增长

24小时
0
7天
+1
15天
+1
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

behance

logo

License GitHub issues open GitHub issues closed Live Demo Download Netlify Deployment Status Storybook Deployment Status
GitHub stars


Introduction

A professional Admin & Dashboard template based on Ant Design 6 that comes with hundreds of UI components, forms, tables, charts, pages and icons. This template is built using React, Vite, Ant Design Charts, Ant Design Icons and Storybook.

Features

  • Customizable: You don't need to be an expert to customize the template. Our code is very readable and well-documented.
  • Fully Responsive: With mobile, tablet & desktop support it doesn't matter what device you're using. Antd Dashboard is responsive in all browsers.
  • Cross-Browser: Our themes are working perfectly with Chrome, Firefox, Opera, and Edge. We're working hard to support them.
  • Clean Code: We strictly follow Ant Design's guidelines to make your integration as easy as possible. All code is handwritten.
  • Regular Updates: From time to time you'll receive an update containing new components, improvements, and bug fixes.
  • Multiple Dashboards: 8 different dashboard variants (Default, Projects, E-commerce, Marketing, Social, Bidding, Learning, Logistics).
  • Design Styles: 4 visual styles (Clean, Glassmorphic, Neumorphic, Bold) with dark/light mode support.

Tech stack

This project features all the latest tools and good practices in web development!

Framework

  • Vite - Next Generation Frontend Tooling
  • pnpm - Fast, disk space efficient package manager
  • TypeScript - Type-safe JavaScript

Design System and Animations

Charts

Internationalization

View more stacks

Routing

State Management

Design Patterns

Components docs

Date formatting

Utils

Quick start

Download

  • Clone this repo: git clone https://github.com/design-sparx/antd-multipurpose-dashboard.git
  • Download from GitHub

Build tools

You'll need to install Node.js and pnpm. Once Node.js is installed, run pnpm install to install the rest of the template's dependencies. All dependencies will be downloaded to the node_modules directory.

View commands
pnpm install

Now you're ready to modify the source files and generate new files. To automatically detect file changes and start a local webserver at http://localhost:5173, run the following command.

pnpm dev

Compile, optimize, minify and uglify all source files to build/

pnpm build

Development Commands

# Development server
pnpm dev                      # Start dev server on http://localhost:5173

# Code quality
pnpm lint                     # Run ESLint (max 0 warnings)
pnpm prettier:write           # Format all files

# Storybook
pnpm storybook               # Start Storybook on port 6006
pnpm build-storybook         # Build Storybook for deployment

# Testing
pnpm test                     # Run tests in watch mode
pnpm test:run                 # Run tests once (CI)

# Production
pnpm build                   # TypeScript compile + Vite build
pnpm preview                 # Preview production build

Testing

This project uses Vitest + React Testing Library for unit and integration testing:

# Run tests in watch mode
pnpm test

# Run tests once (CI)
pnpm test:run
  • Unit tests: Vitest with React Testing Library for component testing
  • Component docs: Interactive component development via Storybook
  • Build validation: TypeScript compilation ensures type safety
  • Code quality: ESLint static analysis and Prettier formatting

File structure

View file tree
📂 antd-multipurpose-dashboard/
┣ 📂 .github/                   # GitHub configs
┣ 📂 .husky/                    # Husky git hooks
┃ ┣ 📃 commit-msg               # Commitlint git hook
┃ ┗ 📃 pre-commit               # Lint-staged git hook
┣ 📂 .storybook/                # Storybook config
┣ 📂 .vscode/                   # VSCode workspace
┣ 📂 public/                    # Public folder
┃ ┣ 📂 mocks/                   # Mock data (36 datasets)
┃ ┣ 📂 showcase/                # Showcase images
┃ ┗ 📃 favicon.ico              # Browser tab icon
┣ 📂 src/
┃ ┣ 📂 App.tsx                  # App entry with theme config
┃ ┣ 📂 assets/                  # Static assets
┃ ┣ 📂 components/              # UI components by domain
┃ ┃ ┣ 📂 dashboard/             # Dashboard-specific components
┃ ┃ ┃ ┣ 📂 default/
┃ ┃ ┃ ┣ 📂 bidding/
┃ ┃ ┃ ┣ 📂 ecommerce/
┃ ┃ ┃ ┣ 📂 learning/
┃ ┃ ┃ ┣ 📂 logistics/
┃ ┃ ┃ ┣ 📂 marketing/
┃ ┃ ┃ ┗ 📂 shared/
┃ ┃ ┣ 📂 corporate/             # Corporate page components
┃ ┃ ┗ 📂 ...                    # Shared components
┃ ┣ 📂 constants/               # App constants
┃ ┣ 📂 contexts/                # React contexts (Auth, Styles)
┃ ┣ 📂 hooks/                   # Custom React hooks
┃ ┣ 📂 layouts/                 # Layout components
┃ ┃ ┣ 📂 dashboards/            # Dashboard layout
┃ ┃ ┣ 📂 corporate/             # Corporate layout
┃ ┃ ┣ 📂 guest/                 # Guest layout
┃ ┃ ┗ 📂 userAccount/           # User account layout
┃ ┣ 📂 lib/                     # Library utilities
┃ ┃ ┗ 📂 queries/               # TanStack Query hooks
┃ ┣ 📂 pages/                   # Page components
┃ ┣ 📂 redux/                   # Redux store & slices
┃ ┣ 📂 routes/                  # Route definitions
┃ ┣ 📂 services/                # API & auth services
┃ ┣ 📂 stories/                 # Storybook stories
┃ ┣ 📂 theme/                   # Theme configuration
┃ ┣ 📂 types/                   # TypeScript types
┃ ┣ 📂 utils/                   # Utility functions
┃ ┗ 📃 test/                    # Test setup
┣ 📃 .editorconfig              # Editor config
┣ 📃 .eslintrc                  # ESLint config
┣ 📃 .gitignore                 # Git ignore
┣ 📃 .prettierignore            # Prettier ignore
┣ 📃 .prettierrc                # Prettier config
┣ 📃 .versionrc                 # Versioning config
┣ 📃 .commitlintrc              # Commitlint config
┣ 📃 CHANGELOG.md               # Changelogs
┣ 📃 CONTRIBUTING.md            # Contributing guide
┣ 📃 LICENSE                    # MIT License
┣ 📃 vite.config.ts             # Vite config
┣ 📃 tsconfig.json              # TypeScript config
┣ 📃 vitest.config.ts           # Vitest config
┗ 📃 README.md                  # This file

Dashboard Variants

This template includes 8 different dashboard variants:

Dashboard Description
Default General-purpose dashboard with campaigns, earnings, and orders
Projects Project management with tasks, clients, and progress tracking
E-commerce Sales analytics, products, sellers, and orders
Marketing Campaign performance, channel analytics, and ROI
Social Social media management with scheduled posts and activities
Bidding NFT marketplace with live auctions and creators
Learning LMS with courses, exams, and study statistics
Logistics Fleet management with trucks, deliveries, and analytics

License

This project is licensed under the MIT License.

探索相关项目

加载中…