Text Generate Effect

A cool text effect that fades in text on page load, one by one.

Install using CLI

npm
pnpm
bun
yarn
npx shadcn-vue@latest add "https://inspira-ui.com/r/text-generate-effect.json"

Install Manually

Copy and paste the following code

TextGenerateEffect.vue

Examples

Two text with different delay

API

Prop NameTypeDefaultDescription
wordsstringRequiredThe text to be displayed with the generating effect.
durationnumber0.7The duration of the text generation animation in seconds.
delaynumber0The delay before the text generation animation starts in milliseconds.
filterbooleantrueThe blur of the text.

Credits