Arc UI
dev.uiarcv1.0.0更新于 Oct 1, 2026
React components and blocks with motion. Search docs, props and shadcn install commands.
概览
让助手搜索 Arc 的 React 组件库、阅读组件文档与属性,并获取安装命令或组件源码。
- 功能
- Arc UI 是 Arc React 组件与区块库的远程 MCP 端点。README 说明它支持搜索、阅读文档和获取源码,注册表描述补充说它涵盖带动态效果的 React 组件与区块,并可搜索文档、属性和 shadcn 安装命令。免费条目无需密钥即可使用,可选的 bearer 令牌可解锁 Pro 源码。
- 适用场景
- 适合在开发 React 界面时使用,让助手直接查询 Arc 组件、其属性以及准确的 shadcn CLI 安装命令,而不是靠猜测。若项目已使用 Arc 或计划安装其组件,值得添加。
- 运行要求
- 远程 Streamable HTTP 端点,未声明本地包或运行时。README 指出组件本身需要 React 19 与 TypeScript、Next.js App Router 或 Vite、motion 包以及 @/* 导入别名。可选的 Authorization 请求头携带来自服务商账户页的 bearer 令牌以解锁 Pro 源码;免费条目无需该令牌。
安装
在 SourceWeft 中
- 打开 控制台中的 Arc UI,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Web executable,通过 Streamable HTTP。 远程服务在工作区中配置后即可从网页运行时运行。
其他 MCP 客户端
把它添加到你客户端的 mcpServers 配置中。
{
"mcpServers": {
"arc": {
"type": "http",
"url": "https://uiarc.dev/api/mcp"
}
}
}README
[License: MIT] [shadcn registry: @uiarc] [CI] [100 components] [22 blocks] [React 19]
Docs · Components · Install · AI and MCP · Pro
Arc is a library of React components and blocks with calm, physical motion. Every item is plain source you own: CSS modules on a small set of design tokens, Motion for animation, keyboard support, and a reduced motion path for every animation. Install anything with the shadcn CLI or copy the files by hand. It works in Next.js and Vite, with or without Tailwind. This repository holds the free, open source part: 100 components and 22 blocks, plus the design and motion tokens they share. Every one of them has a live preview at uiarc.dev.
Showcase
A few favorites, recorded live from uiarc.dev. Items marked Pro are part of Arc Pro and are not in this repository; everything else installs from here for free.
Contents
- Showcase
- Install
- Usage
- Theming
- Components
- Blocks
- AI tools
- Troubleshooting
- How releases work
- Repository layout
- Arc Pro
- Contributing
- License
Install
Requirements
- React 19 with TypeScript
- Next.js (App Router) or Vite
- motion for animation. Some items also use lucide-react or a Radix UI primitive; the CLI installs whatever an item needs.
- The
@/*import alias (Next.js and shadcn set it up by default)
No Tailwind is required. Arc styles are CSS modules that read CSS variables.
With the shadcn CLI
Register the @uiarc namespace once in components.json:
Then add items by name. Local dependencies, such as the components inside a block, come along automatically:
Every item also installs from its full URL, without touching components.json:
Your first install adds arc-foundation (design and motion tokens). Import it once at the root of your app:
Setting up a new project
Next.js
Accept the default @/* import alias.
Vite
Map @/* to src in tsconfig.json and vite.config.ts, as shadcn expects:
Copy and paste
- Install the shared packages:
npm install motion lucide-react. - Copy
registry/foundation.css,registry/motion-tokens.tsandlib/motion-tokens.tsfrom this repository into the same paths under your@/root, and import the CSS once at the root. - Copy the item's folder from
registry/components/<id>/orregistry/blocks/<id>/, keeping the path. Copied files keep this repository's layout and import each other through@/; the CLI install above rewrites that for you. Itspublic/r/<id>.jsonfile lists every file and npm package it needs.
Each page on uiarc.dev also has a Manual tab with the exact files.
Usage
The CLI puts every file in an arc/ folder under the components alias in your components.json, for example components/arc/button/button.tsx, or src/components/arc/… in a src/ project or monorepo package. Arc files import each other with relative paths, so any alias setup works; move the arc/ folder as a whole if you want it elsewhere. Use them like any local component:
The code is yours: edit it, rename it, move it. There is no runtime package to keep in sync.
Theming
Components read semantic tokens, never raw colors. Change a token in foundation.css (components/arc/foundation.css after a CLI install) and every component follows, in both themes.
- Dark mode: set
data-theme="dark"on<html>. Dark values are tuned separately, not inverted. - Accent: set
data-accenton<html>toneutral,violet,blue,green,amber,orange,coralorrose. - Motion: springs and durations live in
lib/motion-tokens.ts(components/arc/lib/motion-tokens.tsafter a CLI install). Every animation respectsprefers-reduced-motion.
More in the theming docs and motion docs.
Components
100 free components, grouped as on the site. Click a name for the live preview and docs.
Actions (14) · Inputs (31) · Disclosure (13) · Feedback (8) · Data (29) · Text (4) · Special (1)
Actions
Buttons
Gestures
Menus
Theme
Inputs
Text fields
Special inputs
Selects
Toggles
Sliders
Pickers
Editors
Disclosure
Navigation
Expand
Overlays
Feedback
Messages
Progress
Data
Avatars
Cards
Charts
Tables
Activity
Media
Text
Text effects
Special
Type
Blocks
22 free blocks: complete sections and screens built from Arc components.
App shell
Auth
Pricing
Media
Heroes
Features
Social proof
Content
Headers and footers
AI tools
Arc is built to be used from AI coding tools.
-
MCP server:
https://uiarc.dev/api/mcp(Streamable HTTP, no key needed for free items). Search, read docs and fetch source from Claude Code, Cursor, VS Code or Codex. -
llms.txt:
https://uiarc.dev/llms.txtfor an index,llms-full.txtfor everything in one file. -
Markdown docs: every page has a Markdown version at
/components/<id>/markdown.
Setup for each client is in the AI and MCP docs.
Troubleshooting
Cannot find module @/registry/...
Arc files import each other through the @/* alias. Map it to your project root in tsconfig.json (and in vite.config.ts for Vite). See Setting up a new project.
Components render without styles or colors
Import the tokens once at the root: import "@/registry/foundation.css";. If the file is missing, run npx shadcn@latest add @uiarc/arc-foundation.
The CLI says @uiarc is an unknown registry
Add the registries entry to components.json (see With the shadcn CLI), or install from the full URL: npx shadcn@latest add https://uiarc.dev/r/<id>.json.
Dark mode does not switch
Arc follows the data-theme attribute on <html>, not the dark class. Set data-theme="dark" before the page paints to avoid a flash of the light theme.
Using Vite: an item imports next/image or next/link
A few items use Next.js primitives: avatar, breadcrumb, changelog-feed, site-header, newsletter-signup. In Vite, replace Image with <img> and Link with <a>; the props map one to one for these uses.
Animations do not play
Arc honors the reduced motion setting of your operating system and swaps movement for simple fades. Turn it off to see the full motion, and make sure motion is installed.
The CLI asks to overwrite foundation.css
Every item lists the foundation as a dependency. If you have customized your tokens, answer no; the existing file keeps working.
How releases work
New free components and blocks ship regularly, a few at a time. Each release updates this repository, the @uiarc registry and the changelog together, so the code here always matches what the CLI installs. Watch or star the repository to hear about new items.
Repository layout
Arc Pro
Arc Pro adds 101 more components and blocks on top of this library: galleries like the Cover flow above, wallet and finance surfaces, richer charts, and complete product screens. They follow the same rules as everything here: plain source you own, both themes, keyboard support and a reduced motion path.
- Source for every Pro component and block, installed with the same shadcn CLI through a personal token, or through the MCP server
- Every new Pro release, plus fixes and updates to the pieces you already have
- Yearly, or one payment for lifetime access. See pricing
Everything in this repository stays free and MIT licensed.
Contributing
Bug reports, fixes and component ideas are welcome. Read CONTRIBUTING.md first, and please follow the code of conduct. To report a security issue, see SECURITY.md.
License
MIT © 2026 Elia Kuratli
来源:README.md,提交 b454cf8
工具
0版本历史
1- v1.0.0最新Oct 1, 2026

