A SVG element that animate around a text.
npm run nexponent add draw-svg-text
Prop | Type | Default | Description |
---|---|---|---|
className | String | - | Adjust the position of the SVG element using tailwind classes. |
textBefore | String | - | The text to display before the animated text. |
text | String | - | The text to display. |
textAfter | String | - | The text to display after the animated text. |
playOnce | Boolean | true | If the animation should only play once. |
Credit to @anuja-rahul
Special thanks to @tomisloading