themes.dev UI

從 themes.dev 搜尋並安裝 shadcn/ui 區塊、元件、應用程式畫面和頁面範本。免費項目無需金鑰即可使用;UI Pro 項目需要 API 金鑰。

文件

AI coding tools

Use our blocks from Cursor and Claude Code

Every block, component and page template we make installs with the shadcn CLI, so any assistant that can run a command can add one. Two things make it smoother: our registry in components.json, so items install by name, and our MCP server, so your assistant can search more than 1,500 of them and pick the right one. The free items need no account.

Star on GitHubThe MCP plugin, Cursor rule and agent skill are MIT on GitHub.

Step 1

Add the registry

Add @themesdev to the registries in your components.json. Use the short form for free items. With UI Pro, use the long form and set THEMESDEV_TOKENto a key from your account.

components.json, free items

"registries": {
  "@themesdev": "https://www.themes.dev/r/ui/{name}.json"
}

components.json, with UI Pro

"registries": {
  "@themesdev": {
    "url": "https://www.themes.dev/r/ui/{name}.json",
    "headers": { "Authorization": "Bearer ${THEMESDEV_TOKEN}" }
  }
}

Then any item installs by its store number:

Terminal

npx shadcn@latest add @themesdev/pricing-01

No components.json change at all? A free item also installs by its URL: npx shadcn@latest add https://www.themes.dev/r/ui/pricing-01.json

Step 2

Add the MCP server

The server lives at https://www.themes.dev/mcp. Without a key it shows and installs the free items; with a UI Pro key, everything.

The plugin, its Cursor rule and the agent skill are open source: themesdev/mcp on GitHub.

Claude Code

One command adds our server to the project. Leave out the header line if you only use the free items.

Terminal

claude mcp add --transport http themesdev https://www.themes.dev/mcp \
  --header "Authorization: Bearer $THEMESDEV_TOKEN"

Cursor

Add the server to .cursor/mcp.json in your project (or ~/.cursor/mcp.json for every project), then turn it on under Settings › MCP.

Or skip the file: install the themes.dev UI plugin from Cursor Directory, with the server, a Cursor rule and an agent skill in one go.

.cursor/mcp.json

{
  "mcpServers": {
    "themesdev": {
      "url": "https://www.themes.dev/mcp",
      "headers": { "Authorization": "Bearer ${env:THEMESDEV_TOKEN}" }
    }
  }
}

Any other MCP client

Windsurf, VS Code, Zed and the rest take the same thing: a Streamable HTTP server at https://www.themes.dev/mcp, with an optional Bearer token.

.mcp.json

{
  "mcpServers": {
    "themesdev": {
      "type": "http",
      "url": "https://www.themes.dev/mcp",
      "headers": { "Authorization": "Bearer ${THEMESDEV_TOKEN}" }
    }
  }
}

Step 3

Ask for what you need

Describe the section, not the item number. Some things we ask it ourselves:

  • “Find a pricing section from themes.dev with three plans and a monthly/yearly switch, and add it to the pricing page.”
  • “Which themes.dev blocks would make a landing page for a dental practice? Show me five and install the hero.”
  • “Replace our footer with a free themes.dev footer and keep our links.”
  • “List the free themes.dev form blocks and install the contact form.”

Rather pick the sections yourself? Shadcn page builder: compose a page from blocks: stack blocks in order and copy one prompt that installs and builds the whole page.

Step 4, optional

Give it the design skill

A SKILL.md your agent reads before it builds: tokens, type scale, how to fill a block, which blocks make a page, photos, and what never to do. One for UI Pro, one per website theme, one for the free library.

Terminal

npx shadcn@latest add @themesdev/skill-ui-pro

It lands in .claude/skills/ and .agents/skills/, where Claude Code, Cursor and Codex find it. All design skills, with the one for each theme.

What the server can do

search_items

Finds items by name, title, description or category. "A pricing section with a yearly toggle" works.

list_items

Lists items, filtered by access (free or UI Pro), kind (component, block, app screen, page template, design skill) and category.

show_item

Shows one item: what it is, its preview, how to install it, and its code when you have access to it.

install_item

Gives the exact npx shadcn add command and the components.json entry. It never changes your files itself; your assistant runs the command.

Questions

Do I need an account?+

No, not for the free items. The 184 free blocks, components and page templates install without an account or key, from the CLI and through the MCP server. UI Pro items need a key from your account page.

Does the MCP server change my code?+

No. It answers questions and hands back install commands. Your assistant runs npx shadcn add in your project, the same way you would, so you see every file it adds.

Do I need the MCP server at all?+

No. The registry works on its own: add the @themesdev entry to components.json and install by name. The MCP server helps your assistant find the right item among more than a thousand without you browsing for it.

Is my key stored or logged?+

The MCP server passes your key on to our registry for that one request and doesn’t keep it. Installs of UI Pro items are logged against your licence, as they are from the CLI.

Does it work with shadcn’s own MCP server?+

Yes. shadcn’s MCP server reads the registries in your components.json, so once @themesdev is there you can browse and install our items through it too. Our own server knows our categories, access and previews, which shadcn’s can’t.

Try it on a free block first

Add the server without a key and ask for a free pricing or footer block. If it earns a place in your workflow, UI Pro opens the rest.

Browse free blocksSee pricing