lightswind
Version:
A collection of beautifully crafted React Components, Blocks & Templates for Modern Developers. Create stunning web applications effortlessly by using our 160+ professional and animated react components.
31 lines • 1.04 kB
TypeScript
import React from 'react';
interface FallBeamBackgroundProps {
/**
* Optional Tailwind CSS class name to apply to the main container.
* Useful for layout adjustments or margins.
*/
className?: string;
/**
* Number of lines (beams) to render. Default is 20.
*/
lineCount?: number;
/**
* Text to display over the beam effect.
*/
displayText?: string;
/**
* Tailwind color class for the glowing beam trail.
* E.g., 'blue-400', 'green-400', 'red-400'. Default is 'cyan-400'.
*/
beamColorClass?: string;
}
/**
* A lightweight, theme-aware falling beam background component.
* It dynamically creates vertical beam lines via JavaScript/React and applies CSS animations.
*
* NOTE: Ensure the parent container has a defined height/width and `position: relative`
* for the background to cover it correctly.
*/
declare const FallBeamBackground: React.FC<FallBeamBackgroundProps>;
export default FallBeamBackground;
//# sourceMappingURL=fall-beam-background.d.ts.map