Menu
Particle Text
Customize
Text
Font Size (px)200
Particle Size (px)2
Particle Gap (px)2
Mouse Radius (px)150
Mouse Strength5
Friction0.75
Ease0.05
Props
| Property | Type | Default | Description |
|---|---|---|---|
text | string | "creative." | Text rasterized to sample particle positions from. |
colors | string[] | ["#40ffaa","#40aaff","#ff40aa","#aa40ff"] | Palette randomly assigned to each particle. |
particleSize | number | 2 | Diameter of each particle in pixels. |
particleGap | number | 2 | Spacing between sampled particle points in pixels. |
fontSize | number | 200 | Base font size used to rasterize the text. |
autoFit | boolean | true | Automatically shrinks font size to fit the container. |
mouseControls | object | { enabled: true, radius: 150, strength: 5 } | Pointer repulsion settings: enabled, radius (px), strength (force multiplier). |
friction | number | 0.75 | Velocity damping applied each frame, 0-1. |
ease | number | 0.05 | Spring pull strength back toward the sampled base position. |
backgroundColor | string | "transparent" | Canvas background color, or "transparent". |
className | string | "" | Extra classes applied to the root wrapper. |
textstringText rasterized to sample particle positions from.
Default
"creative."colorsstring[]Palette randomly assigned to each particle.
Default
["#40ffaa","#40aaff","#ff40aa","#aa40ff"]particleSizenumberDiameter of each particle in pixels.
Default
2particleGapnumberSpacing between sampled particle points in pixels.
Default
2fontSizenumberBase font size used to rasterize the text.
Default
200autoFitbooleanAutomatically shrinks font size to fit the container.
Default
truemouseControlsobjectPointer repulsion settings: enabled, radius (px), strength (force multiplier).
Default
{ enabled: true, radius: 150, strength: 5 }frictionnumberVelocity damping applied each frame, 0-1.
Default
0.75easenumberSpring pull strength back toward the sampled base position.
Default
0.05backgroundColorstringCanvas background color, or "transparent".
Default
"transparent"classNamestringExtra classes applied to the root wrapper.
Default
""Crafted withbyMohammad Tasin
