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

