127 Components

Wormhole Tunnel

Backgrounds

Structured hyperspace wormhole tunnel on Canvas 2D featuring concentric polygonal energy rings and longitudinal warp ribs scaling from an interactive Lissajous vanishing point.

Warp Velocity

Wormhole Conduit

Installation

Install directly into your project using the shadcn CLI or copy the source code manually.

Requires:lucide-reactclsxtailwind-merge
$npx shadcn@latest add "https://boseui.site/r/wormhole-tunnel.json"

Props

TypeScript props supported by <WormholeTunnel />.

8 props
PropTypeDefaultDescription
ringCountnumber28Number of concentric depth rings rendered along the wormhole.
speednumber1.0Forward traversal velocity multiplier.
baseHuenumber195Starting HSL hue angle in degrees (0-360).
hueShiftnumber90Total hue shift across the depth of the tunnel.
twistnumber1.2Helical rotational twist factor along the tunnel axis.
interactivebooleantrueWhether pointer movement bends the wormhole vanishing point.
childrenReact.ReactNode—Optional foreground UI rendered inside the wormhole container.
classNamestring—Additional CSS classes for the root container.

Key Features

  • Exponential 3D perspective projection of concentric geodesic rings and longitudinal ribs
  • Pointer-reactive vanishing throat that smoothly falls back to an organic Lissajous oscillation
  • Continuous helical twist and spectral HSL hue shifting from throat to outer aperture
  • Interactive HUD with Cherenkov Cyan, Hyperdrive Magenta, and Chrono Gold presets

Keyboard & Accessibility

  • Canvas is marked aria-hidden so screen readers bypass decorative tunnel geometry
  • Interactive speed and twist sliders allow reducing motion velocity on demand