0.0.2 • Published 1 year ago

typew v0.0.2

Weekly downloads
-
License
-
Repository
-
Last release
1 year ago

typew

An intuitive typewriter effect for your Svelte applications

STATUS: working alpha!

Install: npm i typew

Components:

  • Typewriter.svelte: A wrapper with play control
  • Text.svelte: Used for content that will be cycled through.
  • Wait.svelte: A buffer between Text
  • Set.svelte: Change the speed for the rest of components (not implemented).

Usage:

<script>
  import {
    Typewriter,
    Text,
    Set,
    Wait
  } from "typew";
</script>

<main>

<Typewriter autoplay loop>
  <Text content="Hello" />
  <Wait duration={1000} />
  <Text content="World" />
</Typewriter>

</main>
0.0.2

1 year ago

0.0.1

1 year ago