Initializing Cursor Text Flow...
Sections

Particle Text

Interactive particle typography with fluid dynamics where text flows around the cursor.

INSTALLATION & DEPENDENCIES
React 19 / 18Next.js App RouterTypeScript

1. Install Required Packages

npm install react react-dom

2. CLI Component Add

npx @apexphase/ui add cursor-text-flow
Loading Code Viewer...
SPECIFICATION

Props & API Reference

← Scroll specifications horizontally →
PropTypeDefaultDescription
text
string'Apex.'Text string to rasterize into interactive fluid particles.
particleColor
string'#FFFFFF'Hex or CSS color for individual fluid particles.
particleSize
number1Radius in pixels of each particle circle.
particleDensity
number2Sampling step for alpha pixel density (lower = denser particles).
mouseRadius
number240Repulsion threshold radius in pixels around the cursor.
returnSpeed
number0.03Elastic spring factor pulling particles back to origin.
fontWeight
number | string700Font 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
booleanfalseToggles HUD controls for adjusting particle simulation parameters.
START YOUR NEXT PHASE

Want this on your site? We integrate it, or unlock weekly drops with Pro.

WEEKLY DROPS

We publish 1 or 2 new components every single week.

Don't miss them.

Want This On Your Site?

idlehover cardhover button