A modern, responsive data dashboard with sidebar navigation built with HTML, CSS, and JavaScript.
- Responsive Design: Works perfectly on desktop, tablet, and mobile devices
- Interactive Sidebar: Organized navigation with multiple data sections
- Modern UI: Clean design with smooth animations and hover effects
- Real-time Stats: Dashboard with key performance indicators
- Data Sections:
- Analytics (Dashboard, Reports, Metrics)
- Data Sources (Sales, Users, Traffic, Financial)
- Tools (Export, Import, Settings)
- External Links (Google Analytics, Stripe, Mixpanel)
- Download or clone the repository
- Open
index.html
in your web browser - Start exploring the dashboard!
Using Python (built-in on macOS/Linux):
python3 -m http.server 3000
Then open http://localhost:3000
npm install
npm run dev
├── index.html # Main HTML file
├── styles.css # CSS styles and responsive design
├── script.js # JavaScript functionality
├── package.json # npm configuration (optional)
├── .gitignore # Git ignore patterns
└── README.md # Project documentation
Edit the CSS variables in styles.css
:
- Sidebar background:
.sidebar { background: #000000; }
- Accent colors: Change the
#ffd700
values for highlights - Button colors: Modify
.btn-primary
and.btn-secondary
classes
- Open
index.html
- Find the sidebar menu sections
- Add new
<li>
items with appropriate icons and links - Update
script.js
if adding new content sections
Edit the stats in the #dashboard-content
section of index.html
npm run dev
- Start development server with live reloadnpm run build
- Build minified version for productionnpm run serve
- Serve built filesnpm run lint
- Lint JavaScript codenpm run format
- Format code with Prettier
- Chrome (latest)
- Firefox (latest)
- Safari (latest)
- Edge (latest)
- Mobile browsers
- Collapsible sidebar
- Touch-friendly navigation
- Responsive grid layouts
- Optimized for small screens
Ctrl/Cmd + B
- Toggle sidebarArrow Keys
- Navigate sidebar links (when focused)
- Fork the repository
- Create your feature branch (
git checkout -b feature/amazing-feature
) - Commit your changes (
git commit -m 'Add some amazing feature'
) - Push to the branch (
git push origin feature/amazing-feature
) - Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.
- Font Awesome for icons
- Modern CSS Grid and Flexbox for layouts
- Responsive design principles