Neon Reveal

Realistic neon bar effect that sweeps across the container

neon-reveal-tw

Neon Reveal

Customize

Timing & Direction

1000
2500

Bar Settings

260
1
0.02
1

Effects & Scroll

1.5
0.5
0.3

Props

revealDelaynumber

Number of milliseconds to wait before starting the reveal animation

Default:0
revealDurationnumber

Duration of the reveal animation in milliseconds

Default:2000
verticalOffsetnumber

Vertical offset of the neon bar (0.0 to 1.0, where 0 is bottom and 1 is top)

Default:0.7
direction"horizontal" | "vertical"

Direction of the neon bar

Default:"horizontal"
colornumber

Hue of the neon bar (0-360 degrees)

Default:200
barWidthnumber

Width/length of the bar as a percentage (0.0 to 1.0, where 1.0 is full width)

Default:1.0
barHeightnumber

Height/thickness of the bar (0.0 to 1.0)

Default:0.02
mirroredboolean

Whether to render a mirrored bar on the opposite side

Default:false
expandFrom"center" | "left" | "right"

Where the bar expands from: center, left, or right

Default:"center"
animateOnScrollboolean

Trigger animation when element enters viewport

Default:false
scrollThresholdnumber

Viewport intersection threshold for scroll trigger (0.0 to 1.0)

Default:0.3
intensitynumber

Overall glow intensity multiplier

Default:1.0
glowSpreadnumber

How far the glow spreads from the bar

Default:1.0
followCursorboolean

Make the glow follow the cursor position

Default:false
onStart() => void

Callback when animation starts

Default:undefined
onComplete() => void

Callback when animation completes

Default:undefined
classNamestring

Additional CSS classes for the container

Default:""
childrenReactNode

Content to render inside the component

Default:undefined