A modern, high-performance landing page template ported from Cruip's Simple Next.js template.
Live : https://svelte-landing-page.netlify.app/
This project demonstrates how to build a production-ready landing page using SvelteKit, Svelte 5 Runes, and Tailwind CSS v4.
Note: This project was originally prepared for Next.js and has been adapted to SvelteKit.
- Framework: SvelteKit (File-based routing, SSR/SSG).
- Reactivity: Built with Svelte 5 Runes (
$props,$state, etc.) for fine-grained reactivity. - Styling: Tailwind CSS v4 (Oxide engine, CSS-first configuration).
- Animations: AOS (Animate On Scroll) integration for smooth reveal effects.
- Architecture:
- Component-based UI (
src/lib/components). - Route groups for Authentication layouts (
src/routes/(auth)). - Modular CSS organization.
- Component-based UI (
- Performance: Optimized image loading and minimal client-side JS.
- SvelteKit: Web application framework.
- Tailwind CSS v4: Utility-first CSS framework (configured via
@tailwindcss/vite). - Vite: Next-generation frontend tooling.
- AOS: Scroll animations.
src/
├── lib/
│ └── components/ # UI Components (Hero, Features, Header, etc.)
├── routes/
│ ├── (auth)/ # Auth routes (signin, signup, reset-password) with dedicated layout
│ │ ├── +layout.svelte
│ │ └── ...
│ ├── +layout.svelte # Main Layout (Header, Footer)
│ ├── +page.svelte # Landing Page
│ └── layout.css # Global Styles & Tailwind Imports
└── app.html # HTML Shell-
Clone the repository:
git clone https://github.com/YusufCeng1z/sveltekit-tailwind-landing-page-template.git cd sveltekit-tailwind-landing-page-template -
Install dependencies:
npm install
-
Start the development server:
npm run dev
-
Build for production:
npm run build
- Theming: Edit
src/routes/additional-styles/theme.cssto update CSS variables and fonts. - Components: Reusable UI blocks are located in
src/lib/components. - Auth Layout: The authentication layout is isolated in
src/routes/(auth)/+layout.svelte.
- Original Design & Next.js Template by Cruip.
- Ported to SvelteKit by Yusuf Cengiz.
This project is open-source and available under the MIT License.