text-stagger
TypeScript icon, indicating that this package has built-in type declarations

0.1.1 • Public • Published

Demo

Text Stagger

Text Stagger is a library that allows you to stagger text animations.

Usage

pnpm install text-stagger
import { Stagger } from "text-stagger";

// Create a stagger orchestrator instance
const stagger = new Stagger({
  // options to pass
});

// Create a text instance
const text = stagger.observeText(someDivContainingText, {
  splitter: 'word',
  duration: 500,
});

Readme

Keywords

none

Package Sidebar

Install

npm i text-stagger

Weekly Downloads

184

Version

0.1.1

License

MIT

Unpacked Size

172 kB

Total Files

44

Last publish

Collaborators

  • samdd