DesignKit

Components, tokens, and design tools for the web.

11 stops Contrast 78 Lc Color distance 33.6 ΔE
Tonal palette
Stop 50: #edf5ff
Stop 100: #d6e8ff
Stop 200: #b9d4ff
Stop 300: #8eb5ff
Stop 400: #5d90ff
Stop 500: #2e63ff
Stop 600: #143ee3
Stop 700: #071bb5
Stop 800: #04028b
Stop 900: #02005d
Stop 950: #010034
50 500 950
Perceptual contrast
78 Aa
Pass
Harmony
Split-complementary
Scale
perfect-fourth · 1.333
Spring 493 ms settling time
Open design verification

Color

Space

Motion

Text

Analysis

Command-line tools

Run design calculations from the command line or in CI.

Install
npm install -g @dkcli/cli
Show command help
dk --help
Command examples
Design verification
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
Semantic analysis
curl -X POST /api/dk/future/embedding-topology