affectUI

Design and media

Search, read and install agent-ready React components, screens and blocks for AI products.

Your AI app calls the affectUI MCP server, which does the design and media work and sends the result back to the chat.

About affectUI

affectUI is a community MCP server from flohoeller, filed in our directory under design and media. Search, read and install agent-ready React components, screens and blocks for AI products.

affectUI runs as a remote server at https://www.affectui.com/api/mcp, so there is nothing to install: your AI app connects over streamable HTTP, and most remote servers ask you to sign in with OAuth the first time.

affectUI is listed in the official MCP registry as io.github.flohoeller/affectui, version 1.0.0.

At a glance

Publisher
flohoeller (community)
Runs
As a hosted remote server
Written in
TypeScript
License
MIT
GitHub stars
1,084
Official MCP registry
io.github.flohoeller/affectui

How to set up affectUI

  1. Nothing to install: affectUI is a remote server, so all you need is an AI app that accepts a remote MCP URL.
  2. Check the affectUI README for keys or settings; the registry lists none that affectUI requires.
  3. Add affectUI to Claude Code, Claude Desktop, VS Code or Cursor with the config in the setup box on this page.
  4. Restart the app or reload its MCP servers, then ask it to list the affectUI tools to confirm the connection.
  5. Run one read-only task with affectUI first, and keep your app asking before each tool call until the results look right.

affectUI compared with similar servers

  • anymd by SylphxAI has fewer GitHub stars than affectUI (1.1k against 1.1k); both are community servers, and anymd runs on your own machine and affectUI runs as a remote server.
  • Aseprite by diivi has more GitHub stars than affectUI (1.1k against 1.1k); both are community servers, and Aseprite runs on your own machine and affectUI runs as a remote server.
  • Unreal (ChiR24) by ChiR24 has fewer GitHub stars than affectUI (1.1k against 1.1k); both are community servers, and Unreal (ChiR24) runs on your own machine and affectUI runs as a remote server.

Before you connect affectUI

  • Give affectUI its own sign-in or token with the smallest permissions the job needs, never an admin key.
  • Keep your AI app asking before each affectUI tool call until you trust what it does with them.
  • Treat text that affectUI fetches as data. Pages, files and messages can hold instructions written to steer an AI.
  • Read the open issues for affectUI on GitHub to see what breaks and how fast the maintainers reply.

Marketing use cases for affectUI

How marketing and sales teams put affectUI to work, by company size. Pick the size closest to yours and start affectUI on one use case.

Small business

  • A small business can use affectUI to resize and adapt one design for every channel instead of hiring for each version.
  • Owners can ask affectUI to pull brand assets and make quick ad and social variations that still look on brand.
  • affectUI runs as a remote server, so a small team can connect it in a few minutes with no install to maintain.

Mid-market

  • Creative teams can connect affectUI so agents produce variants for testing while designers keep control of the master files.
  • Marketing teams can use affectUI to hand off designs to web and ads with specs attached, cutting review rounds.
  • Start affectUI on one workflow with one owner, measure the time it saves, then roll it out to the wider team.

Enterprise

  • Enterprises can use affectUI with brand rules and approved assets only, so generated work stays inside the brand system.
  • Large creative ops teams can use affectUI to localize and version assets for many markets with review built in.
  • affectUI is a community server, so have security review the code and pin a version before affectUI touches company data.

Need help becoming an AI-forward company?

We connect MCP servers and AI agents to your CRM, content and data, with the guardrails your team needs.

Contact us

affectUI README

From flohoeller/affectui on GitHub, shared under its MIT license. Images are left out; the original has them.

README.md

Website · Browse components · Docs (affectui.com/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.

Showcase

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.


Agent Tree Pro
Who started whom

Tool Call Card
An agent's tool call in one line

Trace Waterfall Pro
Where the time and money of an agent run go

Decision Inbox
Open decisions with two quick answers each

Agent Inbox Pro
All your background agent tasks in one calm list

Thinking Loader
A small working pill for AI replies

Context Map Pro
What fills an agent's context window, as a living treemap

Agent Handoff Pro
A task passed from agent to agent like a relay

Contents

  • Why affectUI
  • Choose the UI for your workflow
  • Install
  • Usage
  • Use it with AI tools
  • Components
  • Blocks
  • Illustrations
  • Motion
  • affectUI Pro
  • Contributing
  • License

Why affectUI

  • Made for agents. Components for what agents actually do: trees of sub-agents, tool calls, traces with cost per step, handoffs, approvals and the context window – live states, not static mockups.
  • Agent-ready. An MCP server and llms.txt let Claude Code, Cursor, Codex or v0 find and add items for you.
  • One file each. Every component is a single .tsx file with its styles inside. Nothing to configure, no CSS framework required.
  • Motion that feels finished. Morphs, staggered reveals, rolling numbers and smooth state changes, and all of it respects prefers-reduced-motion.
  • Dark mode built in. Each item switches when an ancestor has the class dark or data-theme="dark".
  • Accessible by default. Real buttons, labels, keyboard support and live regions where they matter.
  • Responsive. Container queries, so items adapt to the space they get, not just the window.

Choose the UI for your workflow

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.

  • Agent UI: task plans, run progress, decisions and outcomes for delegated work. Start with the Agent UI guide or the agent dashboard guide.
  • AI chat UI: composers, streaming answers, citations and reply actions. Read React components for AI chat.
  • Human in the loop: review a proposed action and its target before the backend executes it. Read approvals and permissions.
  • Tool-call UI: make tool activity, results and failures readable. Read tool calls in an agent UI.
  • MCP UI: present tools connected through MCP. The protocol connection and the finished interface are separate concerns; see the MCP UI guide. The affectUI MCP server below helps coding assistants discover and install components.
  • Generative UI: map model-selected tools and validated data to known React views. Read generative UI in React, including fallback states and why this does not require executing arbitrary generated code.

Browse all guides, follow the AI setup docs, or compare UI libraries to choose the pieces that fit your application.

Install

Requirements

  • React 19, with or without TypeScript
  • Any React setup: Next.js, Vite, Remix or plain React
  • The @/* import alias if you use the shadcn CLI (Next.js and shadcn set it up by default)

With the shadcn CLI

Every item has its own registry URL. Run the command from its page on affectui.com or from the tables below:

npx shadcn@latest add https://www.affectui.com/r/reaction-bar.json

The file lands in components/ui, ready to import.

Prefer short names? Register the namespace once in components.json:

{
  "registries": {
    "@affectui": "https://www.affectui.com/r/{name}.json"
  }
}
npx shadcn@latest add @affectui/reaction-bar

Copy and paste

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.

Usage

import { 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)}
    />
  );
}

Props, keyboard support and accessibility notes for every item are on its page, e.g. Reaction Bar.

Use it with AI tools

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:

claude mcp add --transport http affectui https://www.affectui.com/api/mcp

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.

Components

Name What it is Install
Avatar A person's picture or initials on a soft color of their own npx shadcn@latest add https://www.affectui.com/r/avatar-clean.json
Classic style: npx shadcn@latest add https://www.affectui.com/r/avatar.json
Badge A small status label that carries the color npx shadcn@latest add https://www.affectui.com/r/badge-clean.json
Classic style: npx shadcn@latest add https://www.affectui.com/r/badge.json
Breadcrumb Where a page sits and the way back up npx shadcn@latest add https://www.affectui.com/r/breadcrumb-clean.json
Classic style: npx shadcn@latest add https://www.affectui.com/r/breadcrumb.json
Button Primary, secondary, ghost and destructive buttons with icons, sizes and a shimmering loading state npx shadcn@latest add https://www.affectui.com/r/button-clean.json
Classic style: npx shadcn@latest add https://www.affectui.com/r/button.json
Card The card every screen is built from npx shadcn@latest add https://www.affectui.com/r/card-clean.json
Classic style: npx shadcn@latest add https://www.affectui.com/r/card.json
Change Summary What moved since last time npx shadcn@latest add https://www.affectui.com/r/change-summary-clean.json
Classic style: npx shadcn@latest add https://www.affectui.com/r/change-summary.json
Checkbox A real checkbox with a label and a second line, a some-of-them state for Select all, an error and a card row npx shadcn@latest add https://www.affectui.com/r/checkbox-clean.json
Classic style: npx shadcn@latest add https://www.affectui.com/r/checkbox.json
Code Block Code to read and copy npx shadcn@latest add https://www.affectui.com/r/code-block-clean.json
Classic style: npx shadcn@latest add https://www.affectui.com/r/code-block.json
Color Picker A swatch button that opens a color card npx shadcn@latest add https://www.affectui.com/r/color-picker-clean.json
Classic style: npx shadcn@latest add https://www.affectui.com/r/color-picker.json
Comment Thread One comment with replies npx shadcn@latest add https://www.affectui.com/r/comment-thread-clean.json
Classic style: npx shadcn@latest add https://www.affectui.com/r/comment-thread.json
Context Menu The menu a right-click opens, right at the pointer npx shadcn@latest add https://www.affectui.com/r/context-menu-clean.json
Classic style: npx shadcn@latest add https://www.affectui.com/r/context-menu.json
Date Picker Pick one day in the Text Field's look npx shadcn@latest add https://www.affectui.com/r/date-picker-clean.json
Classic style: npx shadcn@latest add https://www.affectui.com/r/date-picker.json
Decision Inbox Open decisions with two quick answers each npx shadcn@latest add https://www.affectui.com/r/decision-inbox-clean.json
Classic style: npx shadcn@latest add https://www.affectui.com/r/decision-inbox.json
Dialog A modal window on a dimmed backdrop npx shadcn@latest add https://www.affectui.com/r/dialog-clean.json
Classic style: npx shadcn@latest add https://www.affectui.com/r/dialog.json
Dropdown Menu Actions and choices behind any trigger npx shadcn@latest add https://www.affectui.com/r/dropdown-menu-clean.json
Classic style: npx shadcn@latest add https://www.affectui.com/r/dropdown-menu.json
Email Draft Agent-written email for review npx shadcn@latest add https://www.affectui.com/r/email-draft-clean.json
Classic style: npx shadcn@latest add https://www.affectui.com/r/email-draft.json
Empty State What a list, table or panel shows while it has nothing yet npx shadcn@latest add https://www.affectui.com/r/empty-state-clean.json
Classic style: npx shadcn@latest add https://www.affectui.com/r/empty-state.json
Filter Menu Grouped filters with removable chips, collapsible checkbox groups, Clear all and full keyboard control npx shadcn@latest add https://www.affectui.com/r/filter-menu-clean.json
Classic style: npx shadcn@latest add https://www.affectui.com/r/filter-menu.json
Form Field The frame around any control npx shadcn@latest add https://www.affectui.com/r/form-field-clean.json
Classic style: npx shadcn@latest add https://www.affectui.com/r/form-field.json
Hover Card A preview of what a link or name points to npx shadcn@latest add https://www.affectui.com/r/hover-card-clean.json
Classic style: npx shadcn@latest add https://www.affectui.com/r/hover-card.json
Icon Button A square button that is only an icon npx shadcn@latest add https://www.affectui.com/r/icon-button-clean.json
Classic style: npx shadcn@latest add https://www.affectui.com/r/icon-button.json
Kbd A key chip for shortcuts npx shadcn@latest add https://www.affectui.com/r/kbd-clean.json
Classic style: npx shadcn@latest add https://www.affectui.com/r/kbd.json
Message Actions The quiet bar under an AI message npx shadcn@latest add https://www.affectui.com/r/message-actions-clean.json
Classic style: npx shadcn@latest add https://www.affectui.com/r/message-actions.json
Notification Stack Notice cards stacked behind each other npx shadcn@latest add https://www.affectui.com/r/notification-stack-clean.json
Classic style: npx shadcn@latest add https://www.affectui.com/r/notification-stack.json
Number Input A field for one number npx shadcn@latest add https://www.affectui.com/r/number-input-clean.json
Classic style: npx shadcn@latest add https://www.affectui.com/r/number-input.json
OTP Input The verification code field done right npx shadcn@latest add https://www.affectui.com/r/otp-input-clean.json
Classic style: npx shadcn@latest add https://www.affectui.com/r/otp-input.json
Pagination Pages of a long list npx shadcn@latest add https://www.affectui.com/r/pagination-clean.json
Classic style: npx shadcn@latest add https://www.affectui.com/r/pagination.json
Popover A small floating card attached to its trigger npx shadcn@latest add https://www.affectui.com/r/popover-clean.json
Classic style: npx shadcn@latest add https://www.affectui.com/r/popover.json
Profile Menu Account card with the signed-in user, menu actions and profile setup progress npx shadcn@latest add https://www.affectui.com/r/profile-menu-clean.json
Classic style: npx shadcn@latest add https://www.affectui.com/r/profile-menu.json
Progress Tracker Onboarding checklist with an animated progress bar, ticks that draw themselves and auto play npx shadcn@latest add https://www.affectui.com/r/progress-tracker-clean.json
Classic style: npx shadcn@latest add https://www.affectui.com/r/progress-tracker.json
Rating Stars or thumbs up and down for an AI answer npx shadcn@latest add https://www.affectui.com/r/rating-clean.json
Classic style: npx shadcn@latest add https://www.affectui.com/r/rating.json
Reaction Bar Like, comment, repost and share in one pill npx shadcn@latest add https://www.affectui.com/r/reaction-bar-clean.json
Classic style: npx shadcn@latest add https://www.affectui.com/r/reaction-bar.json
Resizable Panes side by side or stacked with a line between them you can drag npx shadcn@latest add https://www.affectui.com/r/resizable-clean.json
Classic style: npx shadcn@latest add https://www.affectui.com/r/resizable.json
Scroll Area A box that scrolls the browser's own way with a slim scrollbar of its own npx shadcn@latest add https://www.affectui.com/r/scroll-area-clean.json
Classic style: npx shadcn@latest add https://www.affectui.com/r/scroll-area.json
Segmented Control Switch between two to six options npx shadcn@latest add https://www.affectui.com/r/segmented-control-clean.json
Classic style: npx shadcn@latest add https://www.affectui.com/r/segmented-control.json
Select Pick one option in the Text Field's look npx shadcn@latest add https://www.affectui.com/r/select-clean.json
Classic style: npx shadcn@latest add https://www.affectui.com/r/select.json
Separator A thin line between groups npx shadcn@latest add https://www.affectui.com/r/separator-clean.json
Classic style: npx shadcn@latest add https://www.affectui.com/r/separator.json
Skeleton Gray shapes in the exact size of the content they stand in for npx shadcn@latest add https://www.affectui.com/r/skeleton-clean.json
Classic style: npx shadcn@latest add https://www.affectui.com/r/skeleton.json
Smart Recommendation Suggestion card with a confidence signal, alternatives to switch to and accept with undo npx shadcn@latest add https://www.affectui.com/r/smart-recommendation-clean.json
Classic style: npx shadcn@latest add https://www.affectui.com/r/smart-recommendation.json
Spinner A small turning arc for work that runs right now npx shadcn@latest add https://www.affectui.com/r/spinner-clean.json
Classic style: npx shadcn@latest add https://www.affectui.com/r/spinner.json
Switch On or off for things that apply right away npx shadcn@latest add https://www.affectui.com/r/switch-clean.json
Classic style: npx shadcn@latest add https://www.affectui.com/r/switch.json
Tag Input Several values in one field as chips npx shadcn@latest add https://www.affectui.com/r/tag-input-clean.json
Classic style: npx shadcn@latest add https://www.affectui.com/r/tag-input.json
Text Area The multi-line twin of the Text Field npx shadcn@latest add https://www.affectui.com/r/text-area-clean.json
Classic style: npx shadcn@latest add https://www.affectui.com/r/text-area.json
Text Field One input for every form npx shadcn@latest add https://www.affectui.com/r/text-field-clean.json
Classic style: npx shadcn@latest add https://www.affectui.com/r/text-field.json
Thinking Loader A small working pill for AI replies npx shadcn@latest add https://www.affectui.com/r/thinking-loader-clean.json
Classic style: npx shadcn@latest add https://www.affectui.com/r/thinking-loader.json
Time Picker A time of day you type or pick npx shadcn@latest add https://www.affectui.com/r/time-picker-clean.json
Classic style: npx shadcn@latest add https://www.affectui.com/r/time-picker.json
Tips Panel Grid of short tips with one action each npx shadcn@latest add https://www.affectui.com/r/tips-panel-clean.json
Classic style: npx shadcn@latest add https://www.affectui.com/r/tips-panel.json
Toggle Group A row of toggle buttons npx shadcn@latest add https://www.affectui.com/r/toggle-group-clean.json
Classic style: npx shadcn@latest add https://www.affectui.com/r/toggle-group.json
Tool Call Card An agent's tool call in one line npx shadcn@latest add https://www.affectui.com/r/tool-call-card-clean.json
Classic style: npx shadcn@latest add https://www.affectui.com/r/tool-call-card.json
Tooltip A small dark label for one control npx shadcn@latest add https://www.affectui.com/r/tooltip-clean.json
Classic style: npx shadcn@latest add https://www.affectui.com/r/tooltip.json
Tree View A nested list of folders and files or any hierarchy npx shadcn@latest add https://www.affectui.com/r/tree-view-clean.json
Classic style: npx shadcn@latest add https://www.affectui.com/r/tree-view.json

Blocks

Name What it is Install
Logo Marquee The endless “Trusted by” strip npx shadcn@latest add https://www.affectui.com/r/logo-marquee-clean.json
Classic style: npx shadcn@latest add https://www.affectui.com/r/logo-marquee.json
Testimonial Wall The landing-page wall of quotes npx shadcn@latest add https://www.affectui.com/r/testimonial-wall-clean.json
Classic style: npx shadcn@latest add https://www.affectui.com/r/testimonial-wall.json

Illustrations

Name What it is Install
Agent Team A prompt types itself and branches out into three agents, each with a role and overlapping tool logos npx shadcn@latest add https://www.affectui.com/r/agent-team.json
Cover Flow Browse covers in 3D npx shadcn@latest add https://www.affectui.com/r/cover-flow.json
DACH Region DACH map with fading neighbours and a pastel band along the border, switchable to the US, China, India, Brazil or Japan npx shadcn@latest add https://www.affectui.com/r/region-dach.json
Empty Calendar Stack of calendar cards marked empty, fanning out on hover npx shadcn@latest add https://www.affectui.com/r/empty-calendar.json
Enrichment Orbit Grok tile inside two rings with comets and data nodes orbiting around it npx shadcn@latest add https://www.affectui.com/r/enrichment-orbit.json
Frost Cloud A frosted white cloud with eyes cut out of it, on a blue or red-orange sky npx shadcn@latest add https://www.affectui.com/r/frost-cloud.json
Ghosted Chat Unanswered chat messages marked as read, with a thumbs-down reply on hover npx shadcn@latest add https://www.affectui.com/r/ghosted-chat.json
Glow Cloud A glowing cloud with eyes in red-orange or blue npx shadcn@latest add https://www.affectui.com/r/glow-cloud.json
Integration Beam Your product between the tools it connects npx shadcn@latest add https://www.affectui.com/r/integration-beam.json
Integration Grid Honeycomb-like wall of integration logos around a bright centre tile with your product mark, fading out toward the edges npx shadcn@latest add https://www.affectui.com/r/integration-grid.json
Layer Stack Isometric stack of five layers with a list beside it npx shadcn@latest add https://www.affectui.com/r/layer-stack.json
Lead Sourcing ChatGPT tile linked to Gmail and Grok, with a shine running along the connection npx shadcn@latest add https://www.affectui.com/r/lead-sourcing.json
Logo Cluster Your mark on a white disc in the middle npx shadcn@latest add https://www.affectui.com/r/logo-cluster.json
Model Orbit AI model makers evenly around a slanted track npx shadcn@latest add https://www.affectui.com/r/model-orbit.json
Model Wheel AI model names on a turning drum npx shadcn@latest add https://www.affectui.com/r/model-wheel.json
Side Folder Glassy blue folder on its side, documents sliding out to the right as the pocket swings open on hover npx shadcn@latest add https://www.affectui.com/r/side-folder.json
Tab Overload Overlapping browser windows where the highlight follows the hovered tab npx shadcn@latest add https://www.affectui.com/r/tab-overload.json
Team Invite Connected teammates npx shadcn@latest add https://www.affectui.com/r/team-invite.json

Motion

Name What it is Install
Grid Background A fine line grid that drifts slowly behind your content and fades out towards the edges npx shadcn@latest add https://www.affectui.com/r/grid-background.json
Number Ticker Odometer-style numbers npx shadcn@latest add https://www.affectui.com/r/number-ticker.json
Shimmer Loader Skeleton blocks that share one soft light sweep, plus shimmering text for “Thinking…” states npx shadcn@latest add https://www.affectui.com/r/shimmer-loader.json
Text Reveal Text that arrives word by word or letter by letter npx shadcn@latest add https://www.affectui.com/r/text-reveal.json

affectUI Pro

203 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.

Contributing

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.

License

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

Questions about affectUI

What is the affectUI MCP server?

Search, read and install agent-ready React components, screens and blocks for AI products. affectUI is maintained by flohoeller on GitHub at flohoeller/affectui, and works with AI apps that support the Model Context Protocol, such as Claude, Cursor and VS Code.

How do I add affectUI to Claude Code?

affectUI is a remote server, so you add its URL instead of installing a package: run claude mcp add --transport http affectui https://www.affectui.com/api/mcp in your terminal. In other apps, add the affectUI URL as a remote or custom connector.

Does affectUI need an API key?

The registry lists no required keys for affectUI. Check the affectUI README for optional settings, and expect a remote server to ask you to sign in the first time you connect.

Is affectUI an official MCP server?

No. affectUI is a community server maintained by flohoeller. Community servers can be excellent; read the code and the open issues before you give affectUI access to company data.

What license is affectUI under?

affectUI is released under the MIT license, according to its GitHub repository. The license covers the code of affectUI; the service it connects to has its own terms.