LightRays

PreviousNext

Volumetric light rays/beams with customizable direction.

Docs
react-bitscomponent

Preview

Loading preview…
LightRays/LightRays.css
.light-rays-container {
  width: 100%;
  height: 100%;
  position: relative;
  pointer-events: none;
  z-index: 3;
  overflow: hidden;
}

Installation

npx shadcn@latest add @react-bits/LightRays-TS-CSS

Usage

import { LightRaysTSCSS } from "@/components/LightRays-TS-CSS"
<LightRaysTSCSS />