---
url: /api/renderers/svelte/src.md
---
[pantoken-root](../../../index.md) / svelte

# svelte

## Compatibility

Target: Svelte. Current format: `Icon action component compiles and SSR renders on Svelte 4 and 5`. Minimum host version: `4.2.20`. Tested through `5.57.1`. Newer releases require review.

[Full compatibility matrix](../../../../compatibility)

Experimental

`@pantoken/svelte` — Svelte helpers over `@pantoken/web-components`.

`icon` is a Svelte action that renders an Instructure glyph into an element. `readToken` reads a
resolved `--instui-*` value (SSR-safe). The custom elements also work directly once `register()`
has run.

## Interfaces

* [ActionResult](interfaces/ActionResult.md)

## Functions

* [readToken](functions/readToken.md)
* [icon](functions/icon.md)
* [registerLocalized](functions/registerLocalized.md)

## References

### register

Re-exports [register](../../angular/src/functions/register.md)
