10% off on all-access. Use code SUPER10.
    d :
    h :
    m :
    Logo

    Spotlight Shader

    New components and templates every month

    Build your next project in minutes, not hours.

    We are a team of developers who are passionate about creating web apps that make you feel like you're in the future.

    The shader accepts an array of spotlight configurations. Each spotlight has a position (top-left, top-right, bottom-left, etc.), color, intensity, size, and spread angle. Beams render as cones with soft gradients.

    Colors can be specified as RGB tuples, hex strings, or CSS variables like "var(--color-yellow-500)". The shader parses these and converts them for canvas rendering. An ambient color provides the background between spotlights.

    Optional animation causes spotlights to subtly shift position over time. An ease-in duration controls how quickly spotlights appear when the component mounts. A blur prop softens the edges of the light beams.

    Works well for dramatic hero sections, event pages, product launches, or anywhere you want theatrical lighting effects behind content.

    Part of Shaders ยท All blocks

    Build websites faster and 10x better than your competitors with

    Aceternity UI Pro

    Next.js 15, Tailwind CSS v4 and Motion for react powered templates

    100+ templates and blocks combined

    Ready to copy paste component blocks, save days of development time

    Aceternity UI Pro Demo - Light Mode
    Logo
    Aceternity UI

    Access an ever-growing collection of premium, meticulously crafted templates and Component Blocks.

    A product by Aceternity
    Building in public at @mannupaaji

    ยฉ 2026 Aceternity Labs LLC. All Rights Reserved.