| children | ReactNode | - | Optional content rendered above the particles inside a relative wrapper. | No |
| className | string | "" | Extra classes for the particle layer itself. | No |
| containerClassName | string | "" | Extra classes for the outer wrapper (only used when children are provided). | No |
| contentClassName | string | "" | Extra classes for the content holder above the particles. | No |
| style | React.CSSProperties | - | Inline styles for the particle layer. | No |
| backgroundColor | string | "transparent" | Background color of the particle layer. | No |
| fadeInDuration | number | 1.2 | Entrance fade-in duration in seconds. | No |
| shape | "map" | "globe" | "circle" | "ring" | "heart" | "star" | "text" | "image" | "custom" | "map" | Which shape the particles form: built-in world map, rotating globe, text, image mask, analytic shapes, or a custom function. | No |
| text | string | "AB" | Text drawn when shape="text". | No |
| textFontFamily | string | "ui-sans-serif, system-ui, sans-serif" | CSS font-family for the text shape. | No |
| textFontWeight | number | 900 | CSS font-weight for the text shape. | No |
| imageSrc | string | "" | Image URL when shape="image" — use a same-origin or CORS-enabled image (a high-detail map PNG/SVG works well). | No |
| imageMode | "alpha" | "light" | "dark" | "alpha" | How the image becomes a particle mask: visible pixels, bright pixels, or dark pixels. | No |
| customShape | (u: number, v: number, t: number) => number | null | Custom shape function for shape="custom". u/v run 0..1 across the shape box, t is seconds; return 0..1 for how lit each point is. | No |
| customShapeAspect | number | 1 | Width/height aspect of the custom shape box. | No |
| shapeScale | number | 0.9 | How much of the container the shape may fill, 0 to 1. | No |
| shapePosition | { x: number, y: number } | { x: 0, y: 0 } | Shape offset as a fraction of the container, e.g. { x: -0.2, y: 0.1 } moves it left and down. | No |
| globeSpeed | number | 0.25 | Rotation speed of the globe shape in radians/second. | No |
| animation | string | string[] | "drift" | One animation name, or an array to cycle through. Options: "none", "drift", "float", "assemble", "wave", "pulse", "scan", "twinkle", "morph". | No |
| speed | number | 1 | Global animation speed multiplier. 0.5 is slow motion, 2 is double speed. | No |
| cycleSeconds | number | 12 | Seconds each animation plays when animation is an array. | No |
| direction | "right" | "left" | "down" | "up" | "right" | Travel direction for drift and scan animations. | No |
| driftSpeed | number | 35 | Drift speed in pixels per second. | No |
| morphShapes | string[] | ["map", "globe", "heart", "star"] | Shapes cycled through by the morph animation. | No |
| morphSeconds | number | 5 | Seconds each shape stays before morphing to the next. | No |
| assembleSeconds | number | 8 | Length of one assemble → hold → disperse loop in seconds. | No |
| scatterDistance | number | 0.5 | How far particles fly during assemble/morph, as a fraction of the container's shorter side. | No |
| waveAmplitude | number | 10 | Wave height in px for the wave animation. | No |
| pulseSpeed | number | 220 | Ring speed in px/s for the pulse animation. | No |
| scanSpeed | number | 260 | Beam speed in px/s for the scan animation. | No |
| paused | boolean | false | Freeze the animation. | No |
| gap | number | 14 | Distance between particles in px. Smaller values are denser; it is enlarged automatically to respect maxParticles. | No |
| maxParticles | number | 9000 | Safety cap on particle count — the gap grows automatically if the grid would exceed it. | No |
| particleSize | number | 2.2 | Base particle radius in px. | No |
| particleStyle | "mixed" | "ring" | "dot" | "square" | "plus" | "mixed" | Particle glyphs: a seeded mix of rings/dots/plus signs, or one style for all particles. | No |
| strokeWidth | number | 1 | Line width for ring and plus particles. | No |
| colors | string[] | ["#e5e7eb", "#e5e7eb", "#93c5fd", "#a5b4fc", "#fde68a", "#c4b5fd"] | CSS colors the particles cycle through. | No |
| colorMode | "random" | "horizontal" | "vertical" | "random" | How colors are distributed over the particle grid. | No |
| opacity | number | 0.85 | Brightness of lit particles, 0 to 1. | No |
| ghostOpacity | number | 0.04 | Visibility of particles outside the shape, 0 to 1. Set to 0 for a fully invisible field until lit. | No |
| sparkle | boolean | true | Random stars twinkle in the empty areas. | No |
| sparkleDensity | number | 0.035 | Share of particles that can sparkle, 0 to 1. | No |
| seed | number | 7 | Seed for the random particle layout — change it for a different stable arrangement. | No |
| maxDpr | number | 2 | Maximum device pixel ratio. Lower values are faster on weak GPUs. | No |
| mouseEffect | "both" | "repel" | "glow" | "none" | "both" | Cursor interaction: particles are pushed away, glow near the cursor, both, or neither. | No |
| mouseRadius | number | 140 | Radius of the cursor effect in px. | No |
| mouseStrength | number | 22 | How far particles are pushed away from the cursor, in px. | No |
| parallax | number | 12 | Pixels the whole layer shifts with the cursor. 0 disables parallax. | No |
| contentDim | number | 0.45 | How much particles fade behind your content area, 0 to 1 — keeps text readable. | No |
| contentDimArea | { x: number, y: number, width: number, height: number } | { x: 0.5, y: 0.5, width: 0.7, height: 0.5 } | Ellipse (as container fractions) where particles dim — match it to your text block. | No |
| edgeFade | number | 0.3 | Fades the layer out toward the edges, 0 to 1. | No |
| respectReducedMotion | boolean | true | Show a calm static frame for visitors who prefer reduced motion. | No |