An elegant and simple Admin Dashboard built with Svelte and Tailwind CSS. This project is designed as a starter template for building responsive admin interfaces, showcasing how to integrate essential components like a sidebar, top navigation, and dynamic content sections.
Follow these steps to set up and run the project locally.
Ensure you have the following installed:
Clone the repository to your local machine:
git clone https://github.com/your-username/admin-dashboard-svelte.git
cd admin-dashboard-svelte
Install the necessary dependencies:
npm install
# or
yarn install
Start the development server:
npm run dev
# or
yarn dev
Your app will be available at http://localhost:3000.
Project Structure Hereβs an overview of the project structure:
βββ public/ # Public files (images, fonts, etc.)
βββ src/ # Source files
β βββ components/ # Reusable UI components (Sidebar, Header, etc.)
β βββ routes/ # Svelte pages & routes
β βββ store/ # Svelte stores for state management
β βββ App.svelte # Main app component
β βββ main.js # Entry point for app
βββ tailwind.config.js # Tailwind CSS configuration
βββ svelte.config.js # Svelte configuration
βββ package.json # Project dependencies and scripts
βββ README.md # Project overview and instructions
Customizing the Dashboard Sidebar: Customize the sidebar by editing the Sidebar.svelte component located in src/components/Sidebar.svelte. Theme: Modify the colors, fonts, and general styling by editing tailwind.config.js. Routing: Extend or modify routes in src/routes/ to add new views or pages. User Authentication: Replace the mock authentication logic in src/lib/api.js with your own authentication API.
Sidebar.svelte
component located in src/components/Sidebar.svelte
.tailwind.config.js
.src/routes/
to add new views or pages.src/lib/api.js
with your own authentication API.We welcome contributions! To contribute:
git checkout -b feature-branch
).git commit -am 'Add new feature'
).git push origin feature-branch
).This project is licensed under the MIT License.
your-username
with your GitHub username.For any questions, issues, or bug reports, please open an issue in the Issues section. Weβll do our best to help you!