made with Svelte

sv-router

Routing Library

Visit Site

Description

Routing Library

"sv-router is a feature-rich yet intuitive routing library for Svelte single-page apps.

  • πŸ”’ Typesafe navigation: Get autocomplete and type checking for your routes.
  • πŸ”„ Flexibility: Choose between code-based or file-based routing approaches.
  • 🌿 Nested routes: Create complex layouts with ease.
  • πŸ” Reactive search params: For simpler state management in the URL.
  • πŸ›‘οΈ Hooks: For navigation guards, data loading, or analytics tracking.
  • ⚑ Performance: Optimized for speed with built-in code splitting and preloading.
  • 🧩 Familiar API: Follows established conventions from popular meta frameworks.
  • πŸͺΆ Lightweight: Minimal impact on your bundle size.
  • πŸš€ Made for Svelte 5: True Svelte 5 implementation with the latest features.
  • #️⃣ Hash-based routing: Hash-based routing enables usage in local environments.

Whether you're building a small project or a complex application, sv-router provides the tools you need without the overhead of a full-stack framework."


Creator

Colin Lienard
@colinlienard


Social Media Links

Svead Svelte Head Component
icon-eye-dark Created with Sketch. 1.042
Svelte Navigator Simple, Accessible Routing
icon-eye-dark Created with Sketch. 2.964
Sentry for Svelte Svelte Error & Performance Monitoring
🧑 Sponsored by Friends
We’re hosting on Digital Ocean! πŸ’™ Try it today and get a free $100 credit.
Svelte Textfit Fit Text into Elements
icon-eye-dark Created with Sketch. 834
Svelte Notion (Unofficial) Notion Renderer for Svelte
icon-eye-dark Created with Sketch. 4.018