### Basic Svelte5 Router Usage
Source: https://github.com/mateothegreat/svelte5-router/blob/main/docs/getting-started.md
Demonstrates how to use the Router component in a Svelte application. It defines a list of routes, each mapping a path to a component, and passes this configuration to the Router. Assumes `Home`, `Products`, and `Settings` components are defined elsewhere.
```svelte
{JSON.stringify(route.result, null, 2)}
Your trusted partner in routing.
State-of-the-art security measures to protect your financial data
Comprehensive banking solutions for businesses of all sizes
Tailored financial services for your personal needs
{JSON.JSON.stringify(route, null, 2)}
```
--------------------------------
### Display User Welcome Message with Quick Stats - Svelte
Source: https://github.com/mateothegreat/svelte5-router/blob/main/docs/llms.txt
Renders a welcome message for the user and displays their quick financial statistics. It uses svelte/transition for a fade-in effect and lucide-svelte icons for visual representation. The data is hardcoded for demonstration purposes.
```svelte
Last login: {userData.lastLogin}
{stat.amount || stat.count}
Your trusted partner in routing.
State-of-the-art security measures to protect your financial data
Your trusted partner in routing.
State-of-the-art security measures to protect your financial data
Comprehensive banking solutions for businesses of all sizes
Tailored financial services for your personal needs