Toggle Sidebar B
AppearanceLight & dark mode D

Micro Slats

A wall of tiny slats that becomes a rolling sea in perspective, with glinting crests, four presets, a real fluid the cursor stirs and an intro that rolls in from the horizon.

Default

Pick a preset, then tune the slats and the wave. The cursor stirs a fluid simulation that the slats follow.

Light previewReplay previewOpen in new tab
New Creative Components

A quiet pattern, drawn one slat at a time.

Get started Learn more

Customize

Preset
Color
Glint Color
Background
Slat Width10px
Slat Height25px
Gap3px
Roundness0.75
Speed0.6
Scale1.5
Direction250°
Chop0.55
Stretch0
Glint0.7
Contrast1.25
Perspective0.55
Fog0.55
Cursor Strength1
Cursor Size40px
Swirl0
Trail1.4s
Lean0
Intro Duration1.5s

API Reference

MicroSlats

PropTypeDefaultDescription
preset'swell' | 'tide' | 'storm' | 'signal''swell'A starting look for the sea. Every wave prop below overrides the preset value when you pass it. Signal turns the field into a flat, equalizer style wall.
colorstring'#A855F7'Color of the slats.
glintColorstring'#ffffff'Color the slats shift towards on wave crests and in the light the cursor leaves.
backgroundColorstring'#000000'Color behind the slats. Pass transparent to show the page through.
slatWidthnumber10Width of one slat in CSS pixels.
slatHeightnumber25Full height of one slat in CSS pixels.
gapnumber3Space between slats in CSS pixels.
roundnessnumber0.75Corner rounding of each slat, from square at 0 to a full pill at 1.
scalenumberfrom presetSize of the swell. Larger values give longer, calmer waves.
speednumberfrom presetHow fast the waves roll. 0 freezes the sea while the cursor can still stir it.
directionnumberfrom presetHeading of the swell in degrees. 270 rolls straight towards the viewer.
chopnumberfrom presetSharpens the crests and flattens the troughs, like wind on the water.
stretchnumberfrom presetHow much each slat grows and shrinks with the wave under it. 0 keeps every slat full length.
glintnumberfrom presetStrength of the light caught on the crests.
contrastnumberfrom presetSpread between dark troughs and bright crests.
perspectivenumberfrom presetHow far the sea recedes towards a horizon above the top edge. 0 is a flat wall.
fognumberfrom presetHaze that fades the far rows into the background.
interactivebooleantrueLets the cursor stir the water. Moving it pushes a real fluid that bends the swell and carries a swirling trail of light, and a click spins out a splash.
cursorStrengthnumber1Brightness of the light the cursor leaves in the water.
cursorSizenumber40Radius of the patch of water the cursor pushes, in CSS pixels.
swirlnumber0How strongly the stirred water curls into eddies.
trailnumber1.4How long the stirred water and its light linger, in seconds.
leannumber0How far the slats tilt with the current. 0 keeps them upright.
introbooleantrueRolls the sea in from the horizon on mount, unfolding the slats row by row.
introDurationnumber1.5Length of the intro in seconds.
pausedbooleanfalseFreezes the waves. The cursor can still stir the water.
styleCSSProperties-Inline styles for the root element.

Accessibility

Keyboard shortcuts and ARIA behavior.

  • Purely decorative canvas. Place it behind content with enough contrast.