Rayos de luz volumétricos.
npx shadcn@latest add https://reactbits.dev/r/LightRays-TS-TW
Detrás de un hero o una sección de impacto. Uno por página y con el texto siempre legible encima.
| Prop | Tipo | Por defecto |
|---|---|---|
| raysOrigin | RaysOrigin | "top-center" |
| raysColor | string | "#ffffff" |
| raysSpeed | number | 1 |
| lightSpread | number | 1 |
| rayLength | number | 2 |
| pulsating | boolean | false |
| fadeDistance | number | 1.0 |
| saturation | number | 1.0 |
| followMouse | boolean | true |
| mouseInfluence | number | 0.1 |
| noiseAmount | number | 0.0 |
| distortion | number | 0.0 |
| className | string | "" |