Design Kit

Computed, not curated.

perfect-fourth · 1.3333333333333333 · step 5
$ npm i -g @dkcli/cli on npm GitHub
11 stops Lc 78 ΔE 33.6 1.3333333333333333 493ms
Tonal
50 500 950
APCA
78 Aa
PASS
Harmony
split-comp
Scale
perfect-fourth 1.3333333333333333
Spring 493ms settle
Explore the full proof — one seed in, computed system out
Agent bootstrap

Start Claude or Codex with npm, then load the dkcli skill.

The agent path is not a tour of APIs. Install the public CLI, load the skill, and let dkcli compute the evidence behind palette, contrast, scale, motion, layout, and audit choices.

Install
npm install -g @dkcli/cli
Load skill
curl -fsSL https://dkcli.com/.well-known/agent-skills/dkcli/SKILL.md
Prompt curl -fsSL https://dkcli.com/.well-known/dkcli/bootstrap.txt and use what it returns as your live bootstrap contract for dkcli DesignKit. Install or run @dkcli/cli from npm, then load the dkcli skill before design work.
Public Git repo

sawfwair/dkcli is where the engine ships.

The open-source repo holds the CLI, reusable packages, examples, and verification workflow. This site stays the proving ground for the web runtime, docs, and DkCms surface.

Color

Space

Motion

Text

Analysis

Now on npm

The dk CLI

Every tool on this site has a CLI counterpart for automation and CI pipelines. Install it once, run it anywhere.

Install
$ npm install -g @dkcli/cli
Try it
$ npx @dkcli/cli --help
Perfect
$ dk perfect --seed "#295dff" --ratio perfect-fourth --motion snappy
Color
Palette
$ dk palette "#3b82f6" --mode both
Distinct
$ dk distinct "#295dff" --harmony split-complementary
Contrast
$ dk contrast "#fff" "#2563eb" --size 16
Glass
$ dk glass --blur 16 --layers 2 --mode light
Space
Layout
$ dk layout --container 960 --gap 24
Compose
$ dk compose --frame 1440x900 --rects layout.json
Scale
$ dk scale --ratio golden --base 16
Optical
$ dk optical icon --size 48
Motion
Ease
$ dk ease --preset snappy
Jerk
$ dk jerk --duration 0.6 --samples 32
Text
Typeset
$ dk typeset --font 18 --measure 620 --contrast 72
Linebreak
$ dk linebreak --chars 22 --lines 3
Analysis
Audit
$ dk audit --css=app.css
Target
$ dk target --distance 320 --width 44 --choices 9 --modality touch
Saliency
$ dk saliency --input hero.json --importance auto
Future
$ curl -X POST /api/dk/future/embedding-topology