Svelte
A component for Svelte 5.
Installation
npm install @telyx/sveltePackages are built locally; PyPI/npm publication is still pending.
Svelte 5
The adapter uses shared @telyx/core. assetBaseUrl points to your Telyx site's files.
Svelte
<script lang="ts">
import TelyxIcon from "@telyx/svelte";
import { tx } from "@telyx/core";
const name = tx.wallet.data.key;
</script>
<TelyxIcon {name} size={24} />Purpose
This component is for the web. Build Telegram messages using tx.render or String(tx.wallet).