Figures that show
how they're drawn.

56 animated figures for product sites. Each keeps its construction in view and measures itself as it moves. React or plain DOM, no dependencies.

Browse the figures
The name, drawn like the figuresPointer: weight 100 to 900
01 · Heroes

Six machines, run by the pointer.

Every speed and ratio is the real one.

02 · Anatomy

Four layers.
One drawing.

Scroll to take one apart.

Layer 1

Construction

Circles, tangents and axes first, the way you'd set out a drawing by hand. They stay visible.

Layer 2

Solid

Then the shape, in one ink. At rest it's a finished icon.

Layer 3

Measure

Then the dimensions. Every number is read off the line it labels, and the inspector snaps to it.

Layer 4

Gesture

On hover, one idea. The lock opens and its height re-measures from 152 to 174.

03 · Built in

The rules come with every figure.

Measured, not typed

Ø160 reads 160 only while the dial is 160 across.

Time or pointer

Let it play, or hand the timeline to the pointer. Try it here.

Light and dark

Both inks ship. This one always shows the other.

04 · Figures

For the pages every product has.

Hover to play. Copy a component from its corner.

05 · Install

One package.
No dependencies.

Import one figure or all of them.

npm i underdraw

import { Lock } from 'underdraw/react'

export function Security() {
  return <Lock scrub />
}
  • playRuns the gesture on its own while on screen.
  • scrubHands the gesture to the pointer, left to right.
  • themeauto, light or dark.
  • captionThe title block with the live readout.
  • inspectThe crosshair that snaps to points and radii.
  • onReadThe readout as it changes: "gap 18".
06 · Engine

Any figure, same engine.

A figure is one function that returns its geometry. The engine draws the rest. The logotype above is one.

switch.js
import { mount } from 'underdraw'
import { rr, circ } from 'underdraw/geometry'

const toggle = {
  id: 'switch', name: 'Switch', kind: 'icon',
  width: 320, height: 320,
  // ek goes 0 → 1 on hover
  make: ({ ek }) => {
    const x = 112 + 96 * ek
    return {
      name: 'Switch', size: ek > .5 ? 'on' : 'off',
      fills: [rr(80, 128, 160, 64, 32)],
      holes: [circ([x, 160], 24)],
      circles: [{ c: [112, 160], r: 32, n: 'End', s: 'dash' },
                { c: [208, 160], r: 32, n: 'End', s: 'dash' }],
      lines: [{ a: [64, 160], b: [256, 160], s: 'axis' }],
      // the engine prints the real travel over '96'
      dims: [{ t: 'h', x1: 112, x2: x, y: 226,
               label: ek > .1 ? '96' : '' },
             { t: 'h', x1: 80, x2: 240, y: 104, label: '160' }],
      points: [{ p: [x, 160], n: 'Knob' }],
    }
  },
}

mount(document.querySelector('#switch'), toggle)
  • you writeSolids, holes, construction, dimensions, named points.
  • it drawsLayers, measured labels, inspector, themes, pointer.
07 · Skill

Or let an agent draw it.

Describe an idea. The skill draws it to the same rules and runs the same audit.

$ npx skills add mykyta-syvash/underdraw
$ /underdraw a sales funnel
  three concepts, you pick one
  drawing funnel.js on the 320 grid
  audit · 3 dimensions, all measured, none on the solid
  underdraw-funnel.html
  1. Complete at rest. A finished icon before anything moves.
  2. One gesture. One story, named by the readout.
  3. Construction stays. Under the solid and across it.
  4. Numbers are measured. Each dimension on real geometry.
  5. Labels stay clear. Off the solid, apart from each other.
08 · Process

Four decisions behind the set.

01

Draw in the devtools' own language

Construction lines and dimensions are how devtools explain themselves. Nobody had made product figures in that language, so every figure starts as a construction on a 320 grid.

02

Rest is finished, motion tells one story

At rest every figure is a complete icon you could ship as is. The gesture adds one idea and never repairs the rest state.

03

Numbers that can't lie

Labels are templates the engine fills with what it measures. An audit checks that every dimension sits on real geometry; the polish pass fixed 83 places where it didn't.

04

Machines with true ratios

The heroes are real mechanisms. Each gear's rpm comes from its tooth count, and the planetary set turns at 4:1 because its ring has 36 teeth to the sun's 12.

09 · Why I drew these

I'm a product designer. The sites I keep going back to are devtools: Modal, Linear, Vercel, GitHub. They explain the product with drawings that are exact, with real numbers and nothing added for looks.

Most teams can't commission that for every feature, empty state and pricing page, so I drew a set anyone can use.

Mykyta Syvash
Mykyta SyvashProduct designerLinkedIn ↗
Title
Underdraw
Designed byMykyta Syvash
Role
Product designer
Figures
56, six of them heroes
Checked
Every number measured
Grid
320, heroes 960 × 400
Licence
MIT, free