Skip to content
Pebble Pro is here at $49 one timeSee what’s included ↗
Pebble
ComponentsDocsMCPPricing
⌕ Find a component↗Log in
All components 673

Categories

Core inputs & forms46Buttons & actions33Navigation36Overlays & feedback49Data display33Charts & data viz40Cards & layout43Marketing blocks38App shells & pages37AI interfaces40Text & typography effects33Backgrounds & visual effects38Motion & transitions32Numbers & counters32Media34E-commerce333D & interactive36Themed sets40
Start with the essentials.Installation guide ↗Connect your agent ↗
← All componentsMotion & transitions

Path draw

SVG line illustrations whose stroke layers draw in turn when in view or tied to scroll, with fills fading in at the end; fully drawn under reduced motion.

Preview

Scroll-linked

Scroll to draw the route

Ridge first, then the sun, then the trail. Fills arrive last.

The drawing below starts as you reach it and finishes as it settles into view. At rest it shows the ridge half drawn.

Scroll back up and the drawing rewinds with you.

Draws once in view

Install

Pro source requires Pebble Pro. Try the full preview above.

Props

PropTypeDefaultDescription
trigger"inView" | "scroll""inView"PathDraw: draw once when visible, or tie the drawing to scroll.
layersnumber3PathDraw: number of stroke layers, drawn one after another.
durationnumber1.4PathDraw: seconds for an inView drawing.
containerRefObject<HTMLElement>—PathDraw: scroll container for scroll mode.
labelstring—PathDraw: accessible name; without it the drawing is decorative.
layernumber0DrawPath: which layer the stroke belongs to. DrawFill fades in at the end.

Pro component

Try the full preview above. Editable source and build guides require Pebble Pro.

Buy Pebble Pro — $49How source access works ↗
Pebble

Small details.
Better interfaces.

React components to explore, make your own, and build on.

Library

  • Components
  • Installation
  • Pricing

Resources

  • For agents
  • About
  • Support

Legal

  • License
  • Terms
  • Privacy
  • Final sale

Built by Pebble

A product of Praxys Solutions LLC ↗

Pebble Pro is live

$49 one time, lifetime updates ↗