Real React components for Claude Code, Cursor, Codex, Lovable and any agent.
Your agent writes code. Layro gives it taste. Reviewed components that run live before you install them and land in your repo as code you own.
Connect once, keep working.
Layro is a React component marketplace that any coding agent can search and install from over MCP, while you get on with your work.
Any agent
Claude Code, Cursor, Codex and any other MCP client connect to Layro in one step.
Keep working
Ask in plain words. Your agent finds a reviewed component and installs it while you carry on.
In your app
Real component code lands in your repo, ready to change like the rest of your project.
Right where you already work.
Layro is a React component marketplace you reach from your coding agent over MCP, or from any page with ⌘K.
Ask your agent
Ask Claude Code, Codex or Cursor for a component in plain words. It searches Layro over MCP and installs a reviewed one, with its files and packages.
Any MCP client
Claude Code, Codex and Cursor connect to the same URL. Sign in once in the browser, no API keys to copy.
Search with ⌘K
Press ⌘K on any page to jump to components, categories, makers, icons and docs.
Built to be trusted
Every component on Layro is reviewed, runs live before you install it, and becomes code you own.
Reviewed
Every version is scanned, rendered and checked by a person before it goes live.
Runs live
Every component runs in a sandboxed preview, so you see the real thing before you install it.
Code you own
The files land in your repo. No runtime, no lock-in, nothing to keep paying for.
Every way in, reviewed the same.
Layro works from your agent, your terminal, your browser and your GitHub repo, and every component passes the same review whichever way it comes in.
MCP server
Your agent searches, plans and installs components by itself.
CLI
layro add writes a component and everything it needs into your project.
shadcn compatible
Every component is a registry item the shadcn CLI installs too.
Browser editor
Write a component, watch it run and publish it without leaving the page.
GitHub sync
Connect a repo with a registry.json and every push updates your components.
Icon library
Whole icon families in one search, ready to copy as React or SVG.
Questions
Short answers about agents, installs, safety and publishing on Layro.
Layro is a React component marketplace that coding agents can search and install from over MCP. It gives agents better taste: reviewed components made by people, in place of the same generic generated UI. Developers can browse the same catalog, watch every component run and install it with one command.
Run npx layro-cli mcp in your terminal: it asks which agent you use (Claude Code, Cursor, VS Code or Codex) and adds Layro with that agent's own setup, so there's no URL to type. Each agent's own way works too: claude mcp add --transport http layro https://mcp.layro.dev in Claude Code, the Add to Cursor and Install in VS Code buttons on the docs, or codex mcp add layro --url https://mcp.layro.dev in Codex. Any other MCP client takes https://mcp.layro.dev as a remote server. You sign in once in the browser; there are no API keys to copy.
Run npx layro-cli init --yes once in a React TypeScript project with Tailwind CSS, then copy the install command from any component page. The CLI writes the source into components/layro/ and installs its npm packages. It needs no account.
Every version gets a static scan and npm dependency checks before it can go live, and previews only run in a sandbox on a separate domain. Installs never run component code or package install scripts. Component code still comes from third parties, so read it before you ship it.
Yes. Layro serves shadcn-compatible registry items, so every component can also be installed with the shadcn CLI. Layro's own CLI is the recommended way, and it needs no shadcn setup beyond a components.json, which it can create.
The source lands in your project and is yours to change. Its author keeps the copyright, and the licence on the component's page says what you may do with it and how to credit it.
Write it in the browser sandbox, connect a GitHub repo with a registry.json, ask your agent over MCP, or run npx layro-cli publish. Every way in goes through the same checks and review. Publishing needs a GitHub account.
Yes. Browsing, copying and installing components is free and needs no account, and publishing is free with a GitHub account.