How flohoeller/affectui works
affectUI is a source-owned React component library for AI-agent interfaces and general application UI. The principal workflow is a developer selecting components and adding them through the shadcn CLI or an AI coding tool using the MCP server. Its runtime product is the components themselves, with additional blocks, illustrations, and motion effects. The tree and excerpts show self-contained TSX modules; they do not show registry or MCP implementation, so those remain external. Capability groupings follow the README and paths; no internal call graph is inferred.
Components 28
Agent UI
- Tool Call Card
components/tool-call-card.tsx - Tool Call Card Clean
components/tool-call-card-clean.tsx - Decision Inbox
components/decision-inbox.tsx - Message Actions
components/message-actions.tsx - Message Actions Clean
components/message-actions-clean.tsx - Email Draft
components/email-draft.tsx
App Components
- Color Picker
components/color-picker.tsx - Color Picker Clean
components/color-picker-clean.tsx - Context Menu
components/context-menu.tsx - Context Menu Clean
components/context-menu-clean.tsx - Date Picker
components/date-picker.tsx - Date Picker Clean
components/date-picker-clean.tsx - Dropdown Menu
components/dropdown-menu.tsx - Dropdown Menu Clean
components/dropdown-menu-clean.tsx - OTP Input
components/otp-input.tsx - OTP Input Clean
components/otp-input-clean.tsx
Page Blocks
- Logo Marquee
blocks/logo-marquee.tsx - Logo Marquee Clean
blocks/logo-marquee-clean.tsx - Testimonial Wall
blocks/testimonial-wall.tsx - Testimonial Wall Clean
blocks/testimonial-wall-clean.tsx
Visual Assets
- Integration Beam
illustrations/integration-beam.tsx - Region DACH
illustrations/region-dach.tsx - Number Ticker
motion/number-ticker.tsx - Grid Background
motion/grid-background.tsx - Text Reveal
motion/text-reveal.tsx
Other components
- Developer
- shadcn CLI
- AI coding tools / MCP
Connections 2
- Developer → shadcn CLI: installs with
README.md - Developer → AI coding tools / MCP: adds via
README.md