affectui

MCP serverSearch

Lets your agent search, read and install ready-made React components and screens for AI products.

Then ask your AI: use affectui to search components

Details

Available today. Use it as a step in a pipeline you build, or from your connected AI.

Add it as a step in a pipeline you build on Ahel, or connect Ahel to Claude, ChatGPT, Cursor, Claude Code or Codex and ask your AI to use it.

About this server

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

Install affectui

The server’s own address, for the clients that take one directly. Or connect Ahel once and every client you use reads it from one address, with the account kept on Ahel rather than in each client’s config.

  • Claude Code

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

    Run it once in your project, then open /mcp to approve any sign-in the server asks for.

  • Claude Desktop

    https://www.affectui.com/api/mcp

    Add a custom connector in Settings, paste this address, and approve the sign-in.

  • Cursor

    cursor://anysphere.cursor-deeplink/mcp/install?name=affectui&config=eyJ1cmwiOiJodHRwczovL3d3dy5hZmZlY3R1aS5jb20vYXBpL21jcCJ9

    Open the link and Cursor adds the server at that address.

  • ChatGPT

    https://www.affectui.com/api/mcp

    In Settings, enable Developer mode, create an MCP app, and paste this address. Your plan and workspace must allow custom apps.

  • Codex

    codex mcp add affectui --url 'https://www.affectui.com/api/mcp'

    Run it once, then sign in with codex mcp login affectui if the server asks for an account.

From the project's README

As published by flohoeller/affectui in README.md.

affectUI is a library of handcrafted React components, illustrations and motion effects for AI products and modern SaaS apps. 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 copy the file, and it is source you own.

Showcase

A few favorites, 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.

Contents

  • Why affectUI
  • Install
  • Usage
  • Use it with AI tools
  • Components
  • Blocks
  • Illustrations
  • Motion
  • affectUI Pro
  • Contributing
  • License

Why affectUI

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

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

NameWhat it isInstall
ButtonPrimary, secondary, ghost and destructive buttons with icons, sizes and a shimmering loading statenpx shadcn@latest add https://www.affectui.com/r/button.json
Change SummaryWhat moved since last time – one metric per row with a colored trendnpx shadcn@latest add https://www.affectui.com/r/change-summary.json
Comment ThreadOne comment with replies – an assistant reports what it did, folds open details and answers @mentionsnpx shadcn@latest add https://www.affectui.com/r/comment-thread.json
Decision InboxOpen decisions with two quick answers each – answered ones confirm and fold awaynpx shadcn@latest add https://www.affectui.com/r/decision-inbox.json
Email DraftAgent-written email for review – switch recipient and tone, edit inline, remove the attachment, send or discard with undonpx shadcn@latest add https://www.affectui.com/r/email-draft.json
Filter MenuGrouped filters with removable chips, collapsible checkbox groups, Clear all and full keyboard controlnpx shadcn@latest add https://www.affectui.com/r/filter-menu.json
Notification StackNotice cards stacked behind each other – dismiss the front one to reveal the nextnpx shadcn@latest add https://www.affectui.com/r/notification-stack.json
OTP InputThe verification code field done right – a gliding focus ring, paste and SMS autofill, a calm shake on errors and a morph into Verifiednpx shadcn@latest add https://www.affectui.com/r/otp-input.json
Profile MenuAccount card with the signed-in user, menu actions and profile setup progressnpx shadcn@latest add https://www.affectui.com/r/profile-menu.json
Progress TrackerOnboarding checklist with an animated progress bar, ticks that draw themselves and auto playnpx shadcn@latest add https://www.affectui.com/r/progress-tracker.json
Reaction BarLike, comment, repost and share in one pill – icons pop and fill, counts roll in digit by digitnpx shadcn@latest add https://www.affectui.com/r/reaction-bar.json
Segmented ControlSwitch between two to six options – a raised pill or underline that glides, stretches a little and can be dragged across, with icons, counts and badgesnpx shadcn@latest add https://www.affectui.com/r/segmented-control.json
Smart RecommendationSuggestion card with a confidence signal, alternatives to switch to and accept with undonpx shadcn@latest add https://www.affectui.com/r/smart-recommendation.json
Tips PanelGrid of short tips with one action each – taken tips turn into a done statenpx shadcn@latest add https://www.affectui.com/r/tips-panel.json

Blocks

NameWhat it isInstall
Logo MarqueeThe endless “Trusted by” strip – a seamless loop that eases to a stop on hover, scrubs with inertia and lifts the hovered logo to colournpx shadcn@latest add https://www.affectui.com/r/logo-marquee.json
Testimonial WallThe landing-page wall of quotes – columns that scroll endlessly in opposite directions, ease to a stop on hover and scrub with inertianpx shadcn@latest add https://www.affectui.com/r/testimonial-wall.json

Illustrations

NameWhat it isInstall
Agent TeamA prompt types itself and branches out into three agents, each with a role and overlapping tool logosnpx shadcn@latest add https://www.affectui.com/r/agent-team.json
DACH RegionDACH map with fading neighbours and a pastel band along the border, switchable to the US, China, India, Brazil or Japannpx shadcn@latest add https://www.affectui.com/r/region-dach.json
Empty CalendarStack of calendar cards marked empty, fanning out on hovernpx shadcn@latest add https://www.affectui.com/r/empty-calendar.json
Enrichment OrbitGrok tile inside two rings with comets and data nodes orbiting around itnpx shadcn@latest add https://www.affectui.com/r/enrichment-orbit.json
Frost CloudA frosted white cloud with eyes cut out of it, on a red-orange or blue sky – it floats, turns to look around, blinks, follows the pointer and bounces with a wink when clickednpx shadcn@latest add https://www.affectui.com/r/frost-cloud.json
Ghosted ChatUnanswered chat messages marked as read, with a thumbs-down reply on hovernpx shadcn@latest add https://www.affectui.com/r/ghosted-chat.json
Glow CloudA glowing cloud with eyes in blue or red-orange – it floats, turns to look around, blinks, follows the pointer and bounces with a wink when clickednpx shadcn@latest add https://www.affectui.com/r/glow-cloud.json
Integration BeamYour product between the tools it connects – light pulses flow along curved beams, hover to focus a tool, click to pause itnpx shadcn@latest add https://www.affectui.com/r/integration-beam.json
Integration GridHoneycomb-like wall of integration logos around a bright centre tile with your product mark, fading out toward the edgesnpx shadcn@latest add https://www.affectui.com/r/integration-grid.json
Layer StackIsometric stack of five layers with a list beside it – the chosen entry lifts its layer out in colornpx shadcn@latest add https://www.affectui.com/r/layer-stack.json
Lead SourcingChatGPT tile linked to Gmail and Grok, with a shine running along the connectionnpx shadcn@latest add https://www.affectui.com/r/lead-sourcing.json
Logo ClusterYour mark on a white disc in the middle – company logos bounce out of it and settle around itnpx shadcn@latest add https://www.affectui.com/r/logo-cluster.json
Model WheelAI model names on a turning drum – the rows bend away at the edges and each model lands on a soft gray fillnpx shadcn@latest add https://www.affectui.com/r/model-wheel.json
Side FolderGlassy blue folder on its side, documents sliding out to the right as the pocket swings open on hovernpx shadcn@latest add https://www.affectui.com/r/side-folder.json
Tab OverloadOverlapping browser windows where the highlight follows the hovered tabnpx shadcn@latest add https://www.affectui.com/r/tab-overload.json
Team InviteConnected teammates – a cursor drags a new one into the empty slot, the line turns solid and they go onlinenpx shadcn@latest add https://www.affectui.com/r/team-invite.json

Motion

NameWhat it isInstall
Grid BackgroundA fine line grid that drifts slowly behind your content and fades out towards the edgesnpx shadcn@latest add https://www.affectui.com/r/grid-background.json
Number TickerOdometer-style numbers – every digit rolls to its new value and counts in from zero when it scrolls into viewnpx shadcn@latest add https://www.affectui.com/r/number-ticker.json
Shimmer LoaderSkeleton blocks that share one soft light sweep, plus shimmering text for “Thinking…” statesnpx shadcn@latest add https://www.affectui.com/r/shimmer-loader.json
Text RevealText that arrives word by word or letter by letter – each piece rises out of a soft blur as it scrolls into viewnpx shadcn@latest add https://www.affectui.com/r/text-reveal.json

affectUI Pro

45 more components, screens, blocks and illustrations, including the Command Menu, the Chat Composer, the KPI Chart, the Pricing Plans block and full app screens, 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

Tools it offers (4)

What this server listed when Ahel dialed its public endpoint in Oct 2026, with no key and no account of yours. The names are the server’s own.

  • search_components
  • list_components
  • get_component
  • get_source

Signals

GitHub stars
19
Last commit
Oct 2026
Advanced
Delivery
affectui MCP server → your Ahel connector (mcp.ahel.ai) → your AI.
Item type
mcp-server
Key
io-github-flohoeller-affectui
Source
github.com/flohoeller/affectui
Hosted endpoint
https://www.affectui.com/api/mcp