Skip to main content

Installation

    Examples

    Custom Particle

    Usage

    showLineNumbers
    import { CoolMode } from "@/components/ui/cool-mode"
    
    showLineNumbers
    <CoolMode>
      <button>Click me</button>
    </CoolMode>
    

    Props

    PropTypeDefaultDescription
    particleString"circle"The particle URL for a custom particle
    sizeNumberVariesSize of the particle
    particleCountNumberVariesThe number of particles to generate
    speedHorzNumberVariesHorizontal speed of the particles
    speedUpNumberVariesUpward speed of the particles

    Credits

    Build docs developers (and LLMs) love