Components
Loading preview...
he component replicates the original behavior: the lamp follows your mouse cursor with a glowing effect, includes the grid background with radial highlight, supports
npx shadcn@latest add https://21st.dev/r/designali-in/interactive-lightimport { InteractiveLight } from "@/components/ui/interactive-light";
export default function DemoOne() {
return (
<div className="relative flex h-screen w-full flex-col items-center justify-center overflow-hidden">
<InteractiveLight
shineColor="#fff200"
lampHeight="10vh"
lampWidth="10vh"
transitionDuration={500}
/>
<span className="pointer-events-none text-center text-7xl leading-none font-semibold tracking-tighter whitespace-pre-wrap">
Interactive Light
</span>
</div>
)
}