Particle Logo
Your logo in glittering particles that drift and return.
Features
- •Any logo — Pass an SVG or a transparent PNG and the particles take its shape; without one it shows the Dot mark.
- •A stream that breathes — Particles take turns leaving along one axis, upward from the top and downward from the bottom, fanning out with a gentle sway, fading, and returning home.
- •Glitter — Every particle catches the light at its own rhythm and a few sparkle, like the dust in a beam of light.
- •Gathers in, moves aside — The particles stream in and settle into the logo when it appears, and the pointer brushes them aside as it passes.
- •Tunable — Up to 14,000 particles, their size, the flow's direction, amount, distance, spread and speed, and any colour on any background.
- •One file, no dependencies — Drawn on a high-DPI canvas. Pauses offscreen and holds still with reduced motion.
Props API Reference
13 configurable props| Prop | Type | Default | Description |
|---|---|---|---|
| src | string | Dot mark | The logo: SVG or transparent PNG (URL, data URL or object URL). Other sites' images need CORS. |
| size | number | 0.5 | Logo size as a share of the shorter side (0.2–0.9); the component fills its parent. |
| particles | number | 12000 | Number of particles (1,000–14,000). |
| particleSize | number | 1 | Particle size in px. |
| flowAngle | number | 60 | Direction of the stream in degrees; 90 is straight up and down. |
| flow | number | 0.45 | Share of particles that drift away and come back (0–1). |
| flowLength | number | 1.3 | How far they drift, relative to the logo size. |
| spread | number | 1 | How wide the stream fans out (0–2). |
| speed | number | 0.3 | Speed of the flow. |
| shimmer / interactive / intro | boolean | true | Glitter, the pointer brushing particles aside, and gathering in on load. |
| color / background | string | "#FFFFFF" / "#000000" | Particle colour, and any CSS background or transparent. |
| alt | string | "Logo" | Accessible name. |
| className / style | string / CSSProperties | undefined | On the wrapper. |