ProUnlock everything for $49.99 a year, or $79.99 once. See plans ›

Nexus UI

Particle Reveal, animated React component

A headline made of thousands of dots that gather out of a scatter on springs, each with its own slight delay, like dust settling. The cursor pushes nearby dots aside and combs them into streaks, they flow back when it leaves, and a click blows the word apart again.

  • Pro
  • Motion Effects
  • Hover
  • Spring

Play with it

Move the controls and watch it change. Copy code gives you a snippet with only the props you changed.

Sweep the cursor through the word. Click to blow it apart.

Props

PropTypeDefaultWhat it does
text"Reveal"The word to draw. Short words read best.
color"#3a3a3c"Colour of the dots.
particleSize1Radius of each dot in px.
density3.2Sampling step in px. Lower is denser (2 to 8).
dispersion1How far the dots start from the letters, as a fraction of the stage (0 to 1.5).
hoverRadius70Radius around the cursor that pushes dots away, in px.
hoverForce1Strength of the push.
autoplayfalseA ghost cursor combs through the word and the word bursts and re-forms every few seconds, until a real pointer arrives. Pauses off screen and never runs under reduced motion.
className—Extra classes for the wrapper.