svelte-typewriter-transition Svelte Themes

Svelte Typewriter Transition

A simple typewriter transition effect for Svelte applications with characters correction support

svelte-typewriter-transition

A simple typewriter transition effect for Svelte applications with characters correction support.

Install

npm i svelte-typewriter-transition

Usage

{#if checked}
  <p transition:typewriter>
    One phrase text
  </p>

  <p transition:typewriter={{ speed: 200, separator: '\n'}}>
    Mulpi ph
    Multi phrase text wiith
    Multi phrase text with correction and decreased speed
  </p>
{/if}

<script>
  import typewriter from 'svelte-typewriter-transition'
  // ...
</script>

Top categories

Loading Svelte Themes