npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@create-ui/cli

v0.5.9

Published

Add components to your apps.

Downloads

1,700

Readme

Create UI

Design faster. Build cleaner. Scale with one design system.

A modern design code system built on React 19, Tailwind CSS v4, and Radix UI. Components are copied into your project, so you own every line. One unified system, many themes.

npm version npm downloads license Tailwind v4

Documentation · Components · CLI reference · MCP


Quick start

Scaffold a brand-new project, fully wired up:

npx @create-ui/cli create

Or add Create UI to an existing app:

# set up Tailwind, CSS variables, the cn() util, and your theme
npx @create-ui/cli init

# then add components whenever you need them
npx @create-ui/cli add button badge

That's it. The components land in your codebase as real, editable source files.

Why Create UI

  • You own the code. Components are copied into your project, not hidden behind a package. Read them, edit them, ship them.
  • One system, many themes. No legacy style/base split. A single styling foundation with themes (light/dark, semantic tokens) layered on top.
  • Semantic design tokens. Spacing, radius, typography, and color are tokenized for consistency and effortless theming.
  • Accessible by default. Built on Radix UI primitives with sensible keyboard and screen-reader behavior baked in.
  • AI-native. A built-in MCP server and agent skill let assistants like Claude Code and Cursor add and compose components for you.
  • Bring your own registry. Add from the official registry, a custom one, a URL, or a local path. Build and publish your own.

Installation

Run on demand with npx (recommended, always the latest version):

npx @create-ui/cli <command>

Or install globally and call the createui binary directly:

pnpm add -g @create-ui/cli
createui <command>

Commands

create

Scaffold a new project with Create UI preconfigured. Run it bare to open the design-system builder in your browser and pick a preset, or pass a name to skip straight to the terminal flow.

npx @create-ui/cli create [name]

| Flag | Description | | ---------------------------- | ----------------------------------------------------------------------------------- | | -t, --template <template> | Framework template: next, vite, start | | -p, --preset [name] | Apply a design-system preset (interactive list if used alone, or pass a preset URL) | | --src-dir / --no-src-dir | Use (or skip) a src/ directory | | -y, --yes | Skip confirmation prompts | | -c, --cwd <cwd> | Working directory (defaults to the current directory) |

init

Initialize an existing project: create components.json, install dependencies, configure Tailwind CSS and CSS variables, add the cn() utility, and install the base style.

npx @create-ui/cli init [components...]

| Flag | Description | | ---------------------------------------- | ------------------------------------------------------------------------------ | | -t, --template <template> | Template: next, start, vite, next-monorepo | | --theme <theme> | Primary color theme (e.g. indigo, blue, lime, rose). Default: indigo | | --neutral <neutral> | Neutral color (e.g. slate, gray, zinc, stone). Default: slate | | --font-variant <variant> | Font variant. Default: inter | | --css-variables / --no-css-variables | Use CSS variables for theming (default: on) | | --no-base-style | Skip installing the base Create UI style | | --src-dir / --no-src-dir | Use (or skip) a src/ directory | | -d, --defaults | Use the default configuration | | -f, --force | Overwrite an existing configuration | | -y, --yes | Skip confirmation prompts | | -c, --cwd <cwd> | Working directory |

add

Add components and their dependencies to your project. Run it without arguments for an interactive multi-select. If components.json is missing, the CLI initializes the project first.

npx @create-ui/cli add [components...]
# a single component
npx @create-ui/cli add inline-alert

# several at once
npx @create-ui/cli add button input field

# everything
npx @create-ui/cli add --all

| Flag | Description | | ---------------------------------------- | ------------------------------------- | | -a, --all | Add every available component | | -o, --overwrite | Overwrite existing files | | -p, --path <path> | Target path for the components | | --css-variables / --no-css-variables | Theme via CSS variables (default: on) | | --src-dir / --no-src-dir | Use (or skip) a src/ directory | | -y, --yes | Skip confirmation prompts | | -s, --silent | Mute output | | -c, --cwd <cwd> | Working directory |

diff

Check installed components against the registry and preview available updates. Run it bare to list every component with pending changes, or pass a name to see its diff.

npx @create-ui/cli diff [component]

view

Print the full details of one or more registry items as JSON, including file contents. Accepts item names or registry URLs.

npx @create-ui/cli view button dialog

migrate

Run a migration to update components and dependencies in place.

# list available migrations
npx @create-ui/cli migrate --list

# run one
npx @create-ui/cli migrate icons

Available migrations: icons (switch icon library) and radix (migrate to radix-ui).

info

Print project and configuration details, including the resolved framework and your components.json.

npx @create-ui/cli info

build

Build a registry into distributable JSON. Reads a registry.json, resolves file imports, validates each item, embeds file contents, and writes the output (default: ./public/r).

npx @create-ui/cli build [registry] --output ./public/r

An experimental registry:build exists for recursive import resolution, and registry:mcp is deprecated in favor of mcp.

AI integration

Create UI is built to work hand in hand with AI coding agents.

MCP server

The CLI ships a Model Context Protocol server that lets an agent browse, search, and add components on your behalf. The server can list and search registries, view full component source, fetch usage examples, return the exact add command for a component, and run a post-generation audit checklist.

Configure it for your client in one step:

npx @create-ui/cli mcp init --client claude

Supported clients and where the config is written:

| Client | Config file | | ----------- | ---------------------- | | Claude Code | .mcp.json | | Cursor | .cursor/mcp.json | | VS Code | .vscode/mcp.json | | Codex | ~/.codex/config.toml | | OpenCode | opencode.json |

To start the server directly (for custom integrations), run npx @create-ui/cli mcp.

Agent skill

Install the Create UI skill so your agent understands the design system and can compose components from natural language.

npx @create-ui/cli skill --client claude

Supported agents: claude (Claude Code), gemini (Gemini CLI), codex, and agents. Use --project to install into the current project instead of your home directory. Once installed, just ask:

Add a Create UI login form.

Frameworks & requirements

  • Frameworks: Next.js, Vite, React Router / Remix, and TanStack Start.
  • React 19 and Tailwind CSS v4 are required.
  • Components are built on Radix UI with class-variance-authority for variants.

Documentation

Full guides, the component catalog, and theming docs live at createui.co/docs. CLI reference: createui.co/docs/cli.

Community

Follow @createuico for updates, or reach the team at [email protected].