ai-animate

Text

NeonText

Flickering neon sign effect with layered glow and power-on sequence.

Installation

npm install @ai-animate/core

Usage

import { NeonText } from '@ai-animate/core'


<NeonText text="NEON VISION" neonColor="#ff00ff" />

Props

textstringText to display (required)
neonColorstring'#ff00ff'Neon tube color (vibrant RGB or hex)
fontSizestring'clamp(2rem, 5vw, 4rem)'Font size
fontWeightnumber700Font weight
backgroundstring'#000'Background color
flickerbooleantrueEnable ongoing flicker after power-on
classNamestringundefinedAdditional CSS class