Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By code2nguyenv1.0.23MITIn 1 marketplace
Build UI with c2-* web components from @c2n/* instead of native HTML controls, using shared theme tokens and reusable variants. The installer adds a Claude Code hook that validates edited markup and style files and returns findings to the agent.
Trending plugins
7-day copy clicks
Claude loads one when your task matches it, or you run it by name.
Executables (bin/) — files in this plugin's bin/ directory are added to the Bash tool's PATH while the plugin is enabled.
No risk signals detected
Nothing flagged in this plugin's hooks, MCP servers or commands. Other components are not analyzed.
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
1 marketplace, most starred first
web-components, lit, design-system, theming, ui-components, c2n, design-tokens, ui-generation ·
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Portable Agent Skill and MCP configuration for building applications with the c2-* elements from @c2n/*. The same package supports Claude Code, Codex, Google Antigravity and GitHub Copilot (VS Code).
Install the package, then let its project-scoped installer copy the skill and merge the MCP server without replacing unrelated configuration:
npm i -D @c2n/skill
npx c2n-skill install
The default installs all supported agents. Select one or disable MCP configuration when needed:
npx c2n-skill install --agent claude
npx c2n-skill install --agent codex
npx c2n-skill install --agent antigravity
npx c2n-skill install --agent copilot
npx c2n-skill install --agent codex,antigravity --no-mcp
Generated project files:
| Agent | Skill | MCP configuration |
|---|---|---|
| Claude | .claude/skills/c2n-components/ | .mcp.json |
| Codex | .agents/skills/c2n-components/ | .codex/config.toml |
| Antigravity | .agents/skills/c2n-components/ | .agents/mcp_config.json |
| Copilot | .github/skills/c2n-components/ | .vscode/mcp.json |
The installer also merges a short c2n rules block into the instructions file each agent reads in every session — CLAUDE.md (Claude), AGENTS.md (Codex), .github/copilot-instructions.md (Copilot). That block is what makes the agent use c2-* elements instead of native <button>, <input>, <select>, <dialog>… when a request does not mention c2n: the skill and the MCP server only help once the agent decides to use them. Only the text between the c2n:start/c2n:end markers is managed; re-running the installer replaces it and leaves the rest of the file alone.
The MCP configurations start the server with npx -y @c2n/mcp@<version>. Behind a proxy that download can fail silently when the agent starts it; install @c2n/mcp as a dev dependency and the installer points every configuration at node_modules/@c2n/mcp instead (--mcp auto, the default, or force it with --mcp local).
Codex and Antigravity intentionally share the portable .agents/skills/ copy. Re-running the installer updates c2n-owned files and preserves other MCP server entries.
Restart the selected agent after installation so it discovers both additions. The skill gives the agent c2n-specific workflow and theming guidance; the MCP server supplies the current component APIs, examples, presets and generated code. They work independently, but installing both gives the best result.
With the rules block installed, ordinary requests ("build the settings form") should already use c2n. You can still ask for it explicitly, for example:
Use the c2n skill and MCP server to build this settings form. Check each component API before writing markup, load @c2n/theme once, and create application variants for repeated styles.
You can also invoke the installed c2n-components skill by name in clients that support explicit skill invocation. The agent should consult MCP first and inspect the installed package manifest when MCP is unavailable.
The package root contains the portable Agent Plugins plugin.json, mcp.json and skills/ layout used by Codex-compatible plugin hosts. Claude compatibility remains under .claude-plugin/plugin.json and .mcp.json.
From this repository, Claude Code can install the marketplace plugin:
/plugin marketplace add code2nguyen/web-components
/plugin install c2n@c2n
The MCP server starts through the exact matching @c2n/mcp release. For an MCP-only setup, run npx -y @c2n/mcp from any stdio MCP client.
See the AI tools guide for installation, verification, manual configuration and troubleshooting in each supported agent.
For Claude Code the installer also adds a PostToolUse hook to .claude/settings.json: after each Write, Edit or MultiEdit of a markup, script or stylesheet file (HTML, JSX/TSX, Vue, Svelte, Astro, MDX, JS/TS, CSS/SCSS/Less), c2n-mcp validate --hook checks that file and hands the findings (native controls to replace, unknown tags, attributes, slots or variables) back to the agent, which fixes them in the same turn. Other files are not checked, and other hooks in the settings file are kept. Skip it with --no-hook; run the same check in CI with npx -y @c2n/mcp validate src --strict, which fails on warnings (such as a native control) as well as errors.
Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
npx claudepluginhub code2nguyen/web-components --plugin c2nPlugins from other owners that cover similar ground