search_components
Search affectUI
Find affectUI components, screens, blocks, illustrations and motion effects for a UI need, e.g. 'chat input with model picker' or 'onboarding checklist'.
query必填sectionfree_onlyio.github.flohoeller由 GitHub 帳號 flohoeller 發布v1.0.0更新於 Oct 24, 2026
Search, read and install agent-ready React components, screens and blocks for AI products.
affectUI 的遠端 MCP 伺服器,讓助理搜尋、查閱文件並取得 React 元件、區塊、插畫與動效的原始碼。
Web executable,透過 Streamable HTTP。 遠端服務在工作區中設定後即可從網頁執行環境執行。
把這段提示詞貼上到 Claude Code、Codex、Cursor 等代理程式,或 SourceWeft 對話中。代理程式會讀取該伺服器的安裝指南,先向你展示發布者、端點和登入方式,經你同意後再把它新增到你的客戶端。金鑰不會寫進任何命令。
閱讀 https://sourceweft.com/mcp/io.github.flohoeller%2Faffectui/install.md,並按其中說明把這個 MCP 伺服器接入我的客戶端。修改任何設定之前,先告訴我它的發布者、端點和登入方式,等我確認。不要把 API 金鑰寫進命令或我會提交的檔案;問我金鑰應從哪裡取得。把它新增到你客戶端的 mcpServers 設定中。
{
"mcpServers": {
"affectui": {
"type": "http",
"url": "https://www.affectui.com/api/mcp"
}
}
}[affectUI: UI for AI agents. React components for what agents do, and for the rest of your app.]
[License: MIT] [shadcn registry] [React 19] [40 free items] [GitHub stars]
Website · Browse components · Docs · Install · Pro
UI for AI agents. affectUI is a library of React components for what agents do – runs, tool calls, traces, handoffs, approvals and context – and for the rest of your app: inputs, menus, charts, screens, illustrations and motion. Every item is one .tsx file with its styles inside: no Tailwind, no CSS setup, no animation library. Install it with the shadcn CLI, or let Claude Code, Cursor or Codex add it through the MCP server, and it is source you own.
[Used by developers at Teamworks, RedNote, Cloudforce, Moonshot AI, Terminal49, Meitu and Beacons]
Agent components, recorded live from affectui.com. Items marked Pro are part of affectUI Pro and are not in this repository; everything else installs from here for free.
llms.txt let Claude Code, Cursor, Codex or v0 find and add items for you..tsx file with its styles inside. Nothing to configure, no CSS framework required.prefers-reduced-motion.dark or data-theme="dark".affectUI is the presentation layer of an AI product. Your application supplies runtime data, connects tools and enforces permissions; the components render that state and expose callbacks for your actions.
Browse all guides, follow the AI setup docs, or compare UI libraries to choose the pieces that fit your application.
@/* import alias if you use the shadcn CLI (Next.js and shadcn set it up by default)Every item has its own registry URL. Run the command from its page on affectui.com or from the tables below:
The file lands in components/ui, ready to import.
Prefer short names? Register the namespace once in components.json:
Open the item's folder in this repository (components/, illustrations/ or motion/), copy the file into your project and import it. That's all it takes.
Props, keyboard support and accessibility notes for every item are on its page, e.g. Reaction Bar.
affectUI is agent-ready. Connect the MCP server once and Claude Code, Cursor, VS Code or Codex can search every item, read its docs and add it for you:
Other clients: add { "mcpServers": { "affectui": { "url": "https://www.affectui.com/api/mcp" } } } to their MCP config. Without any setup, point your assistant at llms.txt or llms-full.txt. Every page on affectui.com also has a Copy prompt bar for Claude, ChatGPT / Codex, Cursor and v0. Setup details: Using with AI.
108 more components, screens, blocks and illustrations, including the agent components above (Agent Tree, Agent Inbox, Trace Waterfall, Context Map, Agent Handoff and more), full app screens and blocks, are part of affectUI Pro: a one-time purchase with lifetime updates. Their source is not in this repository.
Found a bug or missing a component? Open an issue. The files here are synced from the affectUI source on every release, so fixes land through issues rather than pull requests. See CONTRIBUTING.md.
Everything in this repository is released under the MIT license. Use it in personal and commercial projects. Logos shown in previews belong to their owners and are only sample content.
If affectUI saves you time, a ⭐ helps others find it.
Made by Flo
來源:README.md,提交 dfa4d2e
Search affectUI
Find affectUI components, screens, blocks, illustrations and motion effects for a UI need, e.g. 'chat input with model picker' or 'onboarding checklist'.
query必填sectionfree_onlyList affectUI items
Every affectUI item with slug, section, category, free or Pro, and a one-line description.
sectionaffectUI item docs
Docs for one item: install command, usage example, props, keyboard, accessibility and notes.
slug必填affectUI item source
The full .tsx source of an item, to write to components/ui/<slug>.tsx when the shadcn CLI isn't available. Pro items need the user's access key in the MCP connection.
slug必填已滿足適用檢查項的 100%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
npx shadcn@latest add https://www.affectui.com/r/reaction-bar.json{ "registries": { "@affectui": "https://www.affectui.com/r/{name}.json" }}npx shadcn@latest add @affectui/reaction-barimport { ReactionBar } from "@/components/ui/reaction-bar";
export function PostActions({ post }) { return ( <ReactionBar reactions={{ like: { count: post.likes, active: post.liked }, comment: { count: post.comments } }} onReact={(key, state) => api.react(post.id, key, state.active)} /> );}claude mcp add --transport http affectui https://www.affectui.com/api/mcp