Vibe UI
Initializing Vibe UI System...

Light Tunnel

A hardware-accelerated WebGL animated background component creating a customizable 3D fiber-optic tunnel of travelling light. Fully optimized with frame loop sleep cycles on viewport intersection or document tab blur to conserve GPU cycles.

Preview

✨ Vibe UI Premium

Motion System

Experience ultra-smooth, hardware-accelerated WebGL background animations designed to capture user attention without compromising performance.

Installation

pnpm dlx vibe-ui-kit@latest add light-tunnel

Variations

Cyberpunk Grid

Uses neon cyan and pink color presets along with inward movement flow to create a matrix/holographic atmosphere.

SYSTEM_CONNECTED

VIBE_TERMINAL_NODE

Initializing neural sequence loops. Sub-surface glow index computed successfully. Render pipe is fully optimized.

Golden Sunset

Slow-moving golden cables combined with ambient sway create a smooth and calming sunset tunnel effect.

Ambient Atmosphere

Golden Wave Flow

Slow, organic swaying movements paired with deep gold and amber hues creates a warm, premium visual setting.

Component Concept

Vibe UI's Light Tunnel background renders a procedural 3D cylinder tunnel coordinate mapping. The fibers are drawn utilizing custom WebGL shaders linked with programmatic animation states. It exposes control parameters for individual lines, pulse animations, sway, depth fog, and coordinates for center offsets.

Props

PropTypeDefaultDescription
cableColorstring"#A855F7"Base HEX color for the fiber optic lines
pulseColorstring"#A855F7"HEX color for traveling light pulse packets
tunnelColorstring"#5227FF"HEX color for the empty tunnel body space
tunnelOpacitynumber0Opacity of the internal dark space fill (0 to 1)
speednumber0.1Speed factor of the global movement flow
flowDirection"inward" | "outward""outward"Direction of the fiber scroll animation
cableCountnumber20Number of structural fiber lines inside the tunnel
thicknessnumber0.35Physical width thickness scale of the fibers
glownumber1.0Glow/bloom brightness intensity of the fiber rims
swaynumber0.5Rotational wave oscillation sway amplitude factor
mouseInteractionbooleantrueEnables tunnel direction offsets based on mouse moves

Contributors

Theme Customizer

8px
@theme { --radius: 0.5rem; --glass-blur: 8px; }
Changes apply instantly to this documentation workspace.
Light Tunnel | Vibe UI