@birdgg/astro-type-writter

1.0.0 • Public • Published

Astro type writter component

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

text string text to animate
wordClass string wrap word span with class so you can apply custom animation
showBlink boolean default true
speed number default 200
delay number default 0

Demo

you can checkout example/pages/index.astro

Readme

Keywords

Package Sidebar

Install

npm i @birdgg/astro-type-writter

Weekly Downloads

0

Version

1.0.0

License

MIT

Unpacked Size

3.55 kB

Total Files

6

Last publish

Collaborators

  • birdgg