A modern, responsive admin dashboard UI demo built with React, Tailwind CSS, and Framer Motion. This project showcases UI/UX design patterns and data visualization components using mock data.
This is a UI demonstration project focused on showcasing design patterns and component architecture. All data displayed in the dashboard is static mock data, and no backend integration is implemented. The project serves as a visual template and UI component library.
ā
āāā public/ # Static public files (images, favicon, etc.)
ā
ā
āāā src/
ā āāā components/ # Reusable React components
ā ā āāā analytics/ # Components for analytics dashboard
ā ā ā āāā AIPoweredInsights.jsx
ā ā ā āāā ChannelPerformance.jsx # Marketing channel performance chart
ā ā ā āāā CustomerSegmentation.jsx # Customer segment analysis radar chart
ā ā ā āāā OverviewCards.jsx # Key performance indicator cards
ā ā ā āāā ProductPerformance.jsx # Product sales and revenue comparison
ā ā ā āāā RevenueChart.jsx # Revenue tracking area chart
ā ā ā āāā UserRetention.jsx # User retention line chart
ā ā ā
ā ā āāā common/ # Shared/generic components
ā ā ā āāā Header.jsx # Page header component
ā ā ā āāā Sidebar.jsx # Navigation sidebar
ā ā ā āāā StatCard.jsx # Statistic card with icon and value
ā ā ā
ā ā āāā orders/ # Order-related components
ā ā ā āāā DailyOrders.jsx # Daily order volume line chart
ā ā ā āāā OrderDistribution.jsx # Order status distribution pie chart
ā ā ā āāā OrdersTable.jsx # Searchable orders table
ā ā ā
ā ā āāā overview/ # Dashboard overview components
ā ā ā āāā CategoryDistributionChart.jsx # Sales by product category
ā ā ā āāā SalesChannelChart.jsx # Sales channels performance
ā ā ā āāā SalesOverviewChart.jsx # Comprehensive sales overview
ā ā ā
ā ā āāā products/ # Product management components
ā ā ā āāā ProductsTable.jsx # Searchable product inventory table
ā ā ā āāā SalesTrendChart.jsx # Product sales trend line chart
ā ā ā
ā ā āāā sales/ # Sales-related visualization components
ā ā ā āāā DailySalesTrend.jsx # Daily sales bar chart
ā ā ā āāā SalesByCategoryChart.jsx # Sales distribution by category
ā ā ā āāā SalesOverviewChart.jsx # Comprehensive sales analysis
ā ā ā
ā ā āāā settings/ # User settings and preferences
ā ā ā āāā ConnectedAccounts.jsx # Social media account connections
ā ā ā āāā DangerZone.jsx # Account deletion option
ā ā ā āāā Notifications.jsx # Notification preferences
ā ā ā āāā Profile.jsx # User profile management
ā ā ā āāā Security.jsx # Security settings
ā ā ā āāā SettingSection.jsx # Reusable settings section wrapper
ā ā ā āāā ToggleSwitch.jsx # Customizable toggle switch
ā ā ā
ā ā āāā users/ # User-related analytics components
ā ā āāā UserActivityHeatmap.jsx # User activity time distribution
ā ā āāā UserDemographicsChart.jsx # User age group distribution
ā ā āāā UserGrowthChart.jsx # User acquisition over time
ā ā āāā UsersTable.jsx # Searchable user management table
ā ā
ā āāā pages/ # Page components
ā ā āāā AnalyticsPage.jsx # Comprehensive analytics dashboard
ā ā āāā OrdersPage.jsx # Orders management and tracking
ā ā āāā OverviewPage.jsx # Main dashboard overview
ā ā āāā ProductsPage.jsx # Product inventory and management
ā ā āāā SalesPage.jsx # Sales performance tracking
ā ā āāā SettingsPage.jsx # User account and app settings
ā ā āāā UserPage.jsx # User management and analytics
ā ā
ā āāā App.jsx # Main application component and routing
ā āāā index.css # Global CSS with Tailwind directives
ā āāā main.jsx # React application entry point
ā āāā index.html # Alternative HTML entry point
ā
āāā .eslintrc.cjs # ESLint configuration for code quality
āāā .gitignore # Git ignored files and directories
āāā index.html # Root HTML file
āāā package.json # Project dependencies and scripts
āāā postcss.config.js # PostCSS configuration
āāā tailwind.config.js # Tailwind CSS customization
āāā vite.config.js # Vite build tool configuration
Clone the repository:
git clone https://github.com/6Glow/react-admin-dashboard.git
Install dependencies:
npm install
Start the development server:
npm run dev
The project uses static data files for demonstration. Examples include:
// Sample sales data
export const salesData = [
{ month: 'Jan', sales: 4000 },
{ month: 'Feb', sales: 3000 },
// ... more mock data
];
// Sample user data
export const userData = [
{ id: 1, name: 'John Doe', role: 'Admin' },
{ id: 2, name: 'Jane Smith', role: 'User' },
// ... more mock data
];
# Start development server
npm run dev
# Build for production
npm run build
# Preview production build
npm run preview
To convert this UI demo into a full-featured application:
This project is licensed under the MIT License - see the LICENSE file for details.