A modern SvelteKit starter template with comprehensive features for building robust web applications.
General Sans
font.src/lib/entities/error.ts
) and i18n-ready error messages.# Clone the repository
git clone https://github.com/yourusername/svelte-template.git
cd svelte-template
# Install dependencies
bun install
# Start the development server
bun dev
### Building for Production
```bash
# Build the application
bun build
src/
├── app.html # SvelteKit app template
├── hooks.server.ts # Server hooks
├── lib/ # Library code
│ ├── components/ # Reusable UI components
│ ├── entities/ # Domain entities
│ ├── hooks/ # Custom Svelte hooks
│ ├── i18n/ # Internationalization
│ ├── server/ # Server-side code
│ ├── shared/ # Shared between client and server
│ ├── states/ # State management
│ └── styles/ # Global styles
└── routes/ # SvelteKit routes
└── remote/ # API endpoints
The template includes a comprehensive set of UI components:
Custom state management classes are provided for:
FloatingState
- For positioning elements like tooltips, menusDialogState
- For modal and dialog managementToasterState
- For toast notificationsFormMutationState
- For handling form submissions and mutationsThe template is pre-configured for Supabase, providing:
Type-safe client-server communication with:
The template includes a built-in i18n system with:
Please read COMMITGUIDELINES.md for details on our code of conduct and the process for submitting pull requests.
This project is licensed under the MIT License - see the LICENSE file for details.