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

    Sparkles

    A configurable sparkles component that can be used as a background or as a standalone component.

    Aceternity

    Installation

    Run the following command

    npx shadcn@latest add @aceternity/sparkles

    Examples

    Build great products

    Props

    Prop nameTypeDescription
    idstringThe id of the sparkles component.
    classNamestringThe class name of the sparkles component.
    backgroundstringThe background color of the sparkles component.
    particleSizenumberThe size of the particles in the sparkles component.
    minSizenumberThe minimum size of the particles in the sparkles component.
    maxSizenumberThe maximum size of the particles in the sparkles component.
    speednumberThe speed of the particles in the sparkles component.
    particleColorstringThe color of the particles in the sparkles component.
    particleDensitynumberThe density of the particles in the sparkles component.

    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

    200+ 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.