Text Generate Effect
A cool text effect that fades in text on page load, one by one.
Install using CLI
Install Manually
Copy and paste the following code
TextGenerateEffect.vue
Examples
Two text with different delay
This component uses the nuxt-only
syntax with the <ClientOnly>
. If you are not using Nuxt, you can simply remove it.
API
Prop Name | Type | Default | Description |
---|---|---|---|
words | string | Required | The text to be displayed with the generating effect. |
duration | number | 0.7 | The duration of the text generation animation in seconds. |
delay | number | 0 | The delay before the text generation animation starts in milliseconds. |
filter | boolean | true | The blur of the text. |
Credits
- Credits to M Atif for porting this component.
- Ported from Aceternity UI's Text Generate Effect.