Skip to content
PixiKit

Ripple Text

A word drawn in dots on a water surface: the pointer drops into it and the waves light the dots as they pass.

pixikit.com/docs/effects/ripple-text

Customize

Color
Ripple color
Dot size4.0px
Spacing6px
Dot shape
Damping0.965
Width720px
Height280px
Font family
Font weight800

Props

12
NameTypeDefaultDescription
textstring"Pixi"The word drawn in dots.
colorstring"currentColor"The dots at rest. `currentColor` follows the text colour.
rippleColorstring"#7c3aed"The colour a wave lights the dots in.
dotSizenumber4Each dot size in pixels at 720px wide; it scales with the width.
spacingnumber6The distance between dots in pixels at 720px wide; it scales with the width.
dotShape"circle" | "square""circle"Round or square dots.
dampingnumber0.965How much of a wave survives each step: lower settles sooner, higher rings on.
widthnumber720The widest it grows, in pixels; it never overflows a narrower container.
heightnumber280The height in pixels; the word is fitted to the width and this height.
fontFamilystring"inherit"Any CSS font-family; `inherit` uses the page font.
fontWeightnumber800The word's weight, 100 to 900.
classNamestringNone

Related