DesignExtract: Reverse-Engineer Any Website's Design System From a Single URL
Watch on TikTok
DesignExtract (also called designlang) is a CLI tool that crawls any live website and extracts its complete design system. Point it at a URL, and it pulls colors, fonts, grid patterns, hover transitions, responsive breakpoints, and more. The output is ready to drop into a project: a Tailwind config, CSS variables, a shadcn/ui theme, and Figma variables.
What It Does
The tool uses a headless browser to crawl the live DOM. It does not just read the stylesheet. It extracts every computed style, including layout patterns (grids, flexbox, containers), responsive behavior across four breakpoints, interaction states (hover, focus, active), and WCAG accessibility scores.

The output is eight files:
*-design-language.mdfor feeding to any LLM to recreate the design*-preview.htmlwith visual swatches, type scale, and shadows*-design-tokens.jsonin W3C Design Tokens format*-tailwind.config.jsas a drop-in Tailwind CSS theme*-variables.cssfor CSS custom properties*-figma-variables.jsonwith dark mode support*-theme.jsfor React/CSS-in-JS frameworks (Chakra, Stitches, Vanilla Extract)*-shadcn-theme.cssfor shadcn/ui globals

Using It With Claude Code
Install the output as a Claude Code skill, then use a slash command like /extract-design stripe.com. Your agent builds a landing page matching that exact design system on the first try. The tool also supports dark mode extraction, authenticated pages (via cookies or headers), multi-page crawling, screenshots, and responsive analysis.

The Quick Start is a single command:
npx designlang https://stripe.com
Or use --full to get everything at once, including screenshots, responsive analysis, and interaction states.
Key Takeaways
- DesignExtract reverse-engineers a full design system from any live website with one command
- Output includes Tailwind config, CSS variables, shadcn/ui theme, Figma variables, and more
- Pairs directly with Claude Code to let your agent build pages that match an existing design system
Resources
- Manavarya09/design-extract -- GitHub repo for the tool (MIT license)
Published May 25, 2026. Writeup generated from a favorited TikTok.