PRO

Neon Sign Scene

A lightbox sign with the BLANK wordmark hangs in a dark room corner. Two seconds in it flickers on, off and on again, and the room brightens with it. Lights sliding past the room sweep across the walls while the camera orbits slowly until the cursor takes over.

Component
Emission
0.54
Flicker delay
2
Install
npx shadcn@latest add @compronents/neon-sign-scene

Installs from ui.aryank.space. Needs a registry token and a one-time @compronents entry in components.json. The docs walk through both.

Files
Checking access…
API
PropTypeDefaultDescription
modelSrcstring—GLB with the room and the lightbox sign. Defaults to the hosted model with its letters painted out. Changing it rebuilds the scene.
environmentSrcstring—Equirectangular HDR behind the moving rect lights. Defaults to the hosted city panorama. Changing it rebuilds the scene.
sign"blank" | "model""blank"blank draws the BLANK mark on the lightbox. model keeps the sign texture the GLB ships with. Changing it rebuilds the scene.
rationumber21 / 9Width over height of the canvas. Ignored when the root has a fixed height.
vignetteOffsetnumber0.46Where the vignette starts, from the centre. Updates live.
vignetteDarknessnumber0.64Vignette darkness. Updates live.
vignetteOpacitynumber0.73Vignette blend opacity. Updates live.
bloomRadiusnumber0.64Bloom mipmap blur radius. Updates live.
bloomLuminanceSmoothingnumber0.4Luminance smoothing where the bloom mask ramps in. Updates live.
bloomLuminanceThresholdnumber0.87Luminance above which a pixel blooms. Updates live.
noiseOpacitynumber0.2Colour-dodge film noise opacity. 0 leaves the frame plain. Updates live.
neonTargetnumber0.54Sign emission once the flicker settles. Changing it rebuilds the scene and the default timeline.
ambientRange[number, number][0.02, 1]Ambient intensity at neon 0 and neon 1. It follows the neon linearly. Changing it rebuilds the scene.
rotationMultipliers{ x: number; y: number }{ x: 1 / 30, y: 1 / 40 }Orbit swing: x scales the azimuth and y the polar angle, both times pi. Updates live.
particleSizenumber10Point size. Updates live.
particleVelocitynumber0.1Noise speed of the particle drift. 0.1 is what the source renders. Updates live.
spotSpeednumber35World units per second the environment's rect lights travel. Updates live.
spotIntensitynumber5Brightness of the six rect lights. Changing it rebuilds the scene.
flickerDelaynumber2Seconds after load before the flicker starts. Changing it rebuilds the scene.
flickerNeonSignFlickerStep[]—Neon timeline: value, duration, delay and gsap ease per step. Omitted, it is the source's timeline built from neonTarget. Changing it rebuilds the scene.
classNamestring—Class on the root.
styleCSSProperties—Additional styles for the root.
Dependencies
threepostprocessinggsap