An open-source visual style library for AI-generated web interfaces.
Curated styles, each with design tokens, component recipes, Tailwind-ready constraints, and copy-ready prompts.
Available over MCP, as an Agent Skill, and via npm CLI.
简体中文 · English
Styles · Templates · Animations · Contributing
Ask an AI to build you a landing page and you get something that works and looks like every other AI-built landing page. The problem is not the model — it is that "make it look good" is not a specification.
StyleKit turns a visual direction into something an agent can actually follow: a named style with real tokens, hard constraints, and a demo you can look at first. Pick one, and the output stops drifting.
It does not guarantee a production-ready interface. Integration and completeness still depend on your project.
git clone https://github.com/AnxForever/stylekit.git
cd stylekit
pnpm install
pnpm devStart with the codebase map, documentation index, and local workspace guide.
Open localhost:3000. See .env.example
for optional Supabase and admin configuration.
Every style is published as a shadcn registry
theme. One command adds its light and dark cssVars to your globals.css:
npx shadcn add https://stylekit.top/r/glassmorphism.jsonSwap glassmorphism for any slug. Works with Tailwind v4.
The target project needs a
tsconfig.json, or the shadcn CLI exits withCouldn't find tsconfig.json. Full guide:docs/registry.md.
npx skills@latest add AnxForever/stylekit-skillClaude Code, Cursor, Windsurf, and any Agent-Skills-compatible tool can then
apply any style in the catalog on request — "make this look like Stripe", "cyberpunk
dashboard" — using the correct tokens and rules. The skill lives in
AnxForever/stylekit-skill.
A compatible agent checks GitHub for Skill updates when it runs the Skill
instructions, at most once every 24 hours. This is not a background service.
For an older installation, run npx skills@latest update stylekit once; after
that, the agent checks during use, so you do not need to reinstall repeatedly.
Back up local edits before this one-time migration. Afterward, the updater
verifies files before changing them, skips updates when it detects local edits,
and restores the previous file if an update fails.
npx -y --prefer-online stylekit-mcp@latestExposes search, tokens, component recipes, and a stylekit_lint_code tool that
checks whether generated UI code actually follows the style's rules. See
packages/mcp/README.md.
For an MCP client, copy the one-time JSON configuration from the Developers page. The client checks npm for the latest release whenever it starts the MCP process. A running process must be restarted to load an update. Public online assets are fetched on request, so new content does not require reinstalling the CLI or MCP package.
The catalog spans ten families — Modern & Tech, Brutalist, Brand-Inspired (Apple, Stripe, Notion, GitHub), Retro & Vintage, Artistic, Japanese & Anime, Cyberpunk & Sci-Fi, Layout Patterns, Cultural & Regional, Nature & Cozy.
Every style ships tokens, component code, AI rules, and a full-page live demo.
- 60 animations with live preview and one-click copy
- 37 page templates — SaaS, dashboard, e-commerce, portfolio, blog
- Export anywhere — Tailwind preset, shadcn theme, CSS variables, Figma tokens
- IDE rules —
.cursorrules,claude-rules,windsurf-rules - Bilingual — full English and Chinese, with localized routing
- Machine-readable —
/llms.txt,/llms.md,/llms-full.txt, and a documented HTTP API (docs/API.md)
Practical walkthroughs on the site, for when the problem is the workflow rather than the style:
- Fix an AI-generated website that looks bad
- How to choose AI web design tools
- AI UI generation — turn a page brief into a usable interface structure
- AI frontend workflow
- 中文:AI 网页设计工具 · AI 前端工作流
Contributions welcome. Read these before opening a PR:
docs/CONTRIBUTING.mddocs/STYLE_ADDITION_CHECKLIST.md— required for new stylesdocs/STYLE_AUTHORING.md— how a style is written, before you add or change one
git checkout -b feat/your-feature
pnpm lint && pnpm test && pnpm build
git commit -m "feat: add your feature"Working on the codebase? Start with the contribution guides above and the
repository's AGENTS.md for coding rules.
If StyleKit helped you, a star is already a lot. If you want to go further, there is a support page on the site covering server and domain costs — stylekit.top/contact#support-maintenance. 中文读者欢迎扫码支持,金额随意。
MIT — see LICENSE.
www.stylekit.top
Built by AnxForever