Skip to content

Pipes

Pro

Pipes grow cell by cell on a grid, turn at ball joints, and never cross. The stage clears and starts again when it fills. On a canvas.

  • Motion
  • React 19
  • Tailwind CSS 4

Added Nov 11, 2026 · Pro license

Playground

Loading the preview

Props

Needs your Pro API key in GELATIN_UI_PRO_TOKEN. Set it up

Pro itemAPI key required

Pipes needs a Pro API key

Try the live preview for free. With Pro, the add command above puts the source in your project.

Files it adds
27
More Pro items, one API key
+327
Your coding agent runs it
1 cmd

$79$129once, for life

Already have Pro? Sign in to set up your API key.

Put Pipes in a box with a size.

pipe-stage.tsx

Pipes

<canvas>
PropTypeDefaultDescription
widthnumber12The pipe width, in px. Default 12.
cellnumber32The grid step, in px. Default 32.
pipesnumber6How many pipes grow at once. Default 6.
turnnumber0.3The chance to turn at each cell, 0 to 1. Default 0.3.
speednumber12How fast each pipe grows, in cells per second. Default 12.
colorsreadonly string[]AURORA_COLORSThe pipe colors, one per pipe in turn (any CSS color). Default: the aurora.
...props<canvas> attributes—Every other attribute goes to the <canvas>, with a ref.
  • Use cell and width for the grid step and the pipe width.
  • Use speed for the cells a second, and pipes for how many grow at once.
  • For a calm star background, use Starfield.
  • For soft lines that drift, use Ribbons.
Start over
theme · the full stage fades out, then the grid starts again
Growth
none · a new segment draws at `speed` cells a second
  1. AddedPipes.
Open the release