Interactive particle typography with fluid dynamics where text flows around the cursor.
1. Install Required Packages
npm install react react-dom2. CLI Component Add
npx @apexphase/ui add cursor-text-flow| Prop | Type | Default | Description |
|---|---|---|---|
text | string | 'Apex.' | Text string to rasterize into interactive fluid particles. |
particleColor | string | '#FFFFFF' | Hex or CSS color for individual fluid particles. |
particleSize | number | 1 | Radius in pixels of each particle circle. |
particleDensity | number | 2 | Sampling step for alpha pixel density (lower = denser particles). |
mouseRadius | number | 240 | Repulsion threshold radius in pixels around the cursor. |
returnSpeed | number | 0.03 | Elastic spring factor pulling particles back to origin. |
fontWeight | number | string | 700 | Font weight used during canvas text rasterization. |
letterSpacing | string | '-0.02em' | Canvas letter-spacing offset applied to rasterized glyphs. |
backgroundImageUrl | string | '/free-compoents/5/background.jpg' | URL of the editorial background image layer. |
showControls | boolean | false | Toggles HUD controls for adjusting particle simulation parameters. |
Don't miss them.


