# Animated Text ## Example ```svelte
{#key runId} {/key}
``` ## Documentation ## Usage Animated handwriting text powered by [tegaki](https://github.com/KurtGokhan/tegaki). Text draws itself stroke by stroke. ```svelte ``` ### Built-in fonts Four handwriting fonts are bundled: `caveat`, `italianno`, `tangerine`, `parisienne`. ```svelte ``` ### Controlled progress Drive the animation yourself by binding progress (0 → 1): ```svelte ``` ## API Reference ### AnimatedText Animated handwriting text. Any font draws itself stroke by stroke, powered by tegaki. | Prop | Type | Default | Description | |------|------|---------|-------------| | text | `string` | `-` | The text to animate. | | font | `'caveat' | 'italianno' | 'tangerine' | 'parisienne'` | `'caveat'` | Built-in handwriting font to use. You can also pass a custom tegaki font bundle. | | speed | `number` | `1` | Animation speed multiplier (uncontrolled mode). | | loop | `boolean` | `true` | Whether to loop the animation (uncontrolled mode). | | mode | `'uncontrolled' | 'controlled'` | `'uncontrolled'` | Use 'controlled' to drive the animation progress yourself via the progress prop. | | progress | `number` | `0` | Progress from 0 to 1. Only used when mode is "controlled". |