svelte-typewriter Svelte Themes

Svelte Typewriter

A simple and reusable typewriter effect for your Svelte applications

svelte-typewriter

A simple and reusable typewriter effect for your Svelte applications

DEMO

Installation

# yarn
yarn add -D svelte-typewriter

# npm
npm install --save-dev svelte-typewriter

Usage

<script>
    import Typewriter from 'svelte-typewriter'
</script>

<Typewriter>
    <h1>Testing the typewriter effect</h1>
    <h2>The typewriter effect cascades by default</h2>
    <p>Lorem ipsum dolor sit amet consectetur</p>
</Typewriter>

TODO

  • Pass a option through props to enable/disable typewriting cascading effect

Top categories

Loading Svelte Themes