This guide provides a visual walkthrough of installing and setting up Concept.
# Clone via Git
git clone https://github.com/yourusername/concept.git
# Or download and extract the ZIP fileAfter extraction, you'll see this structure:
concept/
├── src/ # Source files
├── docs/ # Documentation
├── scripts/ # Utility scripts
├── package.json # Dependencies
└── vite.config.js # Build configuration
Open terminal in the project directory:
npm installThis installs all required packages including:
- Bootstrap 5.3.7
- Chart.js 4.5.0
- DataTables
- Font Awesome 7
- And more...
npm run devThe development server will start at http://localhost:3000
When you first open Concept, you'll see:
The default landing page showing:
- Revenue metrics with trend indicators
- Interactive charts
- Recent activity feed
- Quick stats cards
Sidebar Navigation includes:
- Dashboards - Multiple dashboard variants
- UI Elements - Component examples
- Forms - Form controls and validation
- Tables - Data presentation options
- E-commerce - Shop management pages
- Apps - Calendar, chat, and more
Responsive Design
- Desktop: Full sidebar + multi-column layout
- Tablet: Collapsible sidebar + 2-column layout
- Mobile: Hamburger menu + single column
Dark Sidebar The sidebar features a dark theme (#0e0c28) with:
- Hover effects
- Active state indicators
- Collapsible sub-menus
Edit src/scss/_variables.scss:
$primary: #5969ff; // Change this to your colorReplace the logo in the header:
- Add your logo to
src/assets/images/ - Update
src/partials/layouts/header.hbs
Edit src/partials/layouts/sidebar.hbs to:
- Add new menu items
- Rearrange navigation
- Change icons
npm run buildThis creates an optimized dist/ folder with:
- Minified CSS and JavaScript
- Optimized images
- Hashed filenames for caching
- Source maps for debugging
dist/
├── assets/
│ ├── css/ # Compiled styles
│ ├── js/ # Compiled scripts
│ └── images/ # Optimized images
├── index.html # Main entry
├── dashboard-finance.html
├── dashboard-sales.html
└── [other pages].html
Add a new metric card:
<div class="card">
<div class="card-body">
<h6 class="text-muted mb-2">New Metric</h6>
<h3 class="mb-0">1,234</h3>
<small class="text-success">
<i class="fa-solid fa-arrow-up"></i> 5.2%
</small>
</div>
</div>Modify chart colors in your JavaScript:
const chartColors = {
primary: '#5969ff',
success: '#28a745',
danger: '#dc3545'
};Concept's forms use custom variables:
- Border:
#d4d9e3 - Focus:
#5969ff - Shadow:
rgba(89, 105, 255, 0.25)
Solution: Run the fix script
node scripts/fix-navigation-links.js
npm run buildCheck:
- Dev server is running
- No SCSS compilation errors
- Browser cache is cleared
Verify:
- Chart.js is imported
- Canvas element exists
- Data is properly formatted
Concept is fully responsive:
- Hamburger menu toggle
- Full-screen overlay menu
- Touch-friendly controls
- Horizontal scrolling
- Stacked view option
- Simplified controls
- Touch gestures supported
- Simplified legends
- Responsive sizing
- Explore Components - Check
/pages/ui-elements/for examples - Try Dashboards - Test different dashboard variants
- Customize Theme - Modify colors and fonts
- Add Features - Integrate with your backend
- Documentation:
/docsfolder - Component Examples: UI Elements pages
- Sample Data: Included in all pages
- Scripts: Utility scripts in
/scripts
Start building your admin panel with Concept!
