A production-ready admin dashboard template built with SvelteKit, Chart.js, and vanilla CSS. Features dark mode, responsive layout, interactive charts, and data tables.
| Route | Description |
|---|---|
/dashboard |
Overview with stats, revenue chart, recent orders |
/dashboard/analytics |
Traffic analytics, visitor stats, source breakdown |
/dashboard/customers |
Customer list with plans and spending |
/dashboard/orders |
Order management with status badges |
/dashboard/products |
Product catalog with sales data |
/settings |
Profile, appearance, and notification settings |
# Clone
git clone https://github.com/kszongic/sveltekit-dashboard-starter.git
cd sveltekit-dashboard-starter
# Install
npm install
# Dev
npm run dev
# Build
npm run build
src/
āāā app.css # Global styles & CSS variables
āāā app.html # HTML template
āāā lib/
ā āāā components/
ā ā āāā Sidebar.svelte # Navigation sidebar
ā ā āāā StatCard.svelte # KPI stat cards
ā ā āāā ChartCard.svelte # Chart.js wrapper
ā ā āāā DataTable.svelte # Data table with badges
ā āāā stores/
ā āāā theme.ts # Dark mode store
āāā routes/
āāā +layout.svelte # Root layout with sidebar
āāā dashboard/
ā āāā +page.svelte # Main dashboard
ā āāā analytics/ # Analytics page
ā āāā customers/ # Customers page
ā āāā orders/ # Orders page
ā āāā products/ # Products page
āāā settings/
āāā +page.svelte # Settings page
Edit CSS variables in src/app.css:
:root {
--primary: #6366f1; /* Change brand color */
--sidebar-bg: #1e293b; /* Sidebar background */
--radius: 0.5rem; /* Border radius */
}
src/routes/dashboard/your-page/+page.sveltesrc/lib/components/Sidebar.svelte<ChartCard
type="line"
labels={['Jan', 'Feb', 'Mar']}
datasets={[{ label: 'Data', data: [10, 20, 30], borderColor: '#6366f1' }]}
title="My Chart"
/>
MIT ā use it for anything.