---
title: "Svelte API"
description: "Svelte context, stores, messages, and language controls."
canonical_url: "https://docs.linguana.dev/docs/reference/svelte"
markdown_url: "https://docs.linguana.dev/docs/reference/svelte.md"
x_farming_labs_generated_preamble: true
---

# Svelte API
URL: /docs/reference/svelte
LLM index: /llms.txt
Description: Svelte context, stores, messages, and language controls.

# Svelte API

Create the shared client with `createLinguana(options)` and place it in root component context with `setLinguana(client)`. Descendants use `getLinguana()`. Import `T.svelte` for explicit messages and `LanguageSelector.svelte` for the native language control.

## Sitemap

See the full [sitemap](/sitemap.md) for all pages.
Docs-scoped sitemap: [/docs/sitemap.md](/docs/sitemap.md).
Well-known sitemap: [/.well-known/sitemap.md](/.well-known/sitemap.md).
