sveltering Svelte Themes

Sveltering

splits the child dom element into letters, words or lines 🤺

sveltering :sparkles::person_fencing:

Useful Svelte-component helper to split text inside DOM elements to letters, words or lines.

Install:

npm i sveltering 

Usage:

<script>
  import Sveltering from "sveltering";
</script>

<Sveltering method="words">
  <div>This sentence has been Svelteringed!</div>
</Sveltering>

Methods:

"letters" "words" "lines"

disclaimer

This is my first package made with SvelteKit. Use with caution!

Top categories

Loading Svelte Themes