Demo β’ Features β’ Installation β’ Documentation
Modern Dashboard is a production-ready, feature-rich analytics dashboard built with cutting-edge web technologies. It provides an elegant interface for visualizing business metrics, tracking KPIs, and analyzing data trends with interactive charts and responsive design.
Perfect for startups, SaaS applications, or any project requiring a professional admin panel.
- Clean, minimalist design with smooth animations
- Dark mode support with seamless theme switching
- Responsive layout that works on all devices (mobile, tablet, desktop)
- Hover effects and scale animations on interactive elements
- Interactive charts powered by Recharts (Area, Line, Pie, Composed)
- Real-time data updates with animated counters
- Customizable stat cards with trend indicators
- Multiple chart types for different data representations
- Lightning-fast development with Vite HMR
- Type-safe codebase with TypeScript
- Modular component architecture
- ESLint + Prettier for code quality
- Optimized production builds
- Dashboard: Overview with revenue, orders, customers, and conversion metrics
- Analytics: Deep-dive analytics with revenue vs profit, regional sales, and performance breakdowns
- Products: Product management with filtering and search
- Reusable Card Component: Unified, modular card system with StatCard functionality built-in
Note: Add your screenshots to the
/docs/screenshots/directory
Main dashboard with KPI cards and revenue charts
Detailed analytics with regional sales and performance metrics
- Node.js 18.x or higher
- npm 9.x or higher (or yarn / pnpm)
-
Clone the repository
git clone https://github.com/yourusername/modern-dashboard.git cd modern-dashboard -
Install dependencies
npm install
-
Start the development server
npm run dev
-
Open your browser
Navigate to
http://localhost:5173
# Create optimized production build
npm run build
# Preview production build locally
npm run previewThe build output will be in the dist/ directory, ready to deploy.
modern-dashboard/
βββ public/ # Static assets
βββ src/
β βββ components/ # Reusable components
β β βββ ui/ # UI components (Card, Button, etc.)
β β β βββ Card.tsx # Unified Card component with StatCard functionality
β β βββ Layout.tsx # Main layout wrapper
β β βββ Sidebar.tsx # Navigation sidebar
β β βββ ThemeToggle.tsx # Dark mode toggle
β β βββ Skeleton.tsx # Loading skeletons
β βββ pages/ # Page components
β β βββ Dashboard.tsx # Main dashboard page
β β βββ Analytics.tsx # Analytics page
β β βββ Products.tsx # Products page
β β βββ Settings.tsx # Settings page
β βββ data/ # Mock data
β β βββ mockData.ts # Sample data for charts
β βββ utils/ # Utility functions
β β βββ formatters.ts # Number/currency formatters
β βββ App.tsx # Root component with routing
β βββ index.css # Global styles
β βββ main.tsx # Application entry point
βββ docs/
β βββ screenshots/ # Add your screenshots here
βββ .eslintrc.cjs # ESLint configuration
βββ .prettierrc # Prettier configuration
βββ tailwind.config.js # Tailwind CSS configuration
βββ tsconfig.json # TypeScript configuration
βββ vite.config.ts # Vite configuration
βββ vercel.json # Vercel deployment config
βββ package.json # Dependencies and scripts
| Command | Description |
|---|---|
npm run dev |
Start development server with HMR |
npm run build |
Build for production |
npm run preview |
Preview production build locally |
npm run lint |
Run ESLint to check code quality |
npm run lint:fix |
Auto-fix ESLint issues |
npm run format |
Format code with Prettier |
npm run format:check |
Check code formatting |
π Live Demo: https://modern-dashboard-six.vercel.app
Deploy your own instance to Vercel with one click:
Edit tailwind.config.js to customize the color palette:
module.exports = {
theme: {
extend: {
colors: {
primary: '#3B82F6',
secondary: '#10B981',
// Add your custom colors
},
},
},
};- Create a new component in
src/pages/YourPage.tsx - Add the route in
src/App.tsx:<Route path="/your-page" element={<YourPage />} />
- Update sidebar navigation in
src/components/Sidebar.tsx
The unified Card component supports both standard cards and stat cards:
// Standard Card
<Card hoverable>
<h2>Your Content</h2>
</Card>
// Stat Card
<Card
title="Total Revenue"
value="$45,231"
iconName="DollarSign"
iconColor="green"
hoverable
trend={{ value: 12.5, isPositive: true }}
/>- Authentication System - User login/logout with JWT
- Real API Integration - Connect to backend services
- Advanced Filtering - Date range pickers, custom filters
- Export Functionality - CSV/PDF export for reports
- User Management - Admin panel for user roles
- Notifications - Real-time alerts and notifications
- Multi-language Support - i18n integration
- Custom Themes - Theme builder and presets
- Mobile App - React Native version
Contributions are welcome! Please read our Contributing Guide for details on our code of conduct and the process for submitting pull requests.
This project is licensed under the MIT License - see the LICENSE file for details.
- Recharts for the amazing chart library
- Lucide for beautiful icons
- Tailwind CSS for the utility-first CSS framework
- Vite for the blazing-fast build tool
Made with β€οΈ by Your Team
