Skip to content

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

License

Notifications You must be signed in to change notification settings

zyxd/svelte-typewriter-transition

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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>

About

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

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published