1.0.0 • Published 1 year ago

@birdgg/astro-type-writter v1.0.0

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

Astro type writter component

npm.io

Install

pnpm install @birdgg/astro-type-writter

Usage

import TypeWritter from "@birdgg/astro-type-writter";

<TypeWritter
  text={"This is a typewriter effect with 👍"}
  wordClass={"text-up"}
  showBlink={false}
/>

Props

textstringtext to animate
wordClassstringwrap word span with class so you can apply custom animation
showBlinkbooleandefault true
speednumberdefault 200
delaynumberdefault 0

Demo

you can checkout example/pages/index.astro

1.0.0

1 year ago