UI Beats

Design and media

Animated React components you own. 55 components built with TypeScript, Tailwind CSS and Motion. Copy, paste, or install with the shadcn CLI.

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

About UI Beats

UI Beats is a community MCP server from nikhils4, filed in our directory under design and media. Animated React components you own. 55 components built with TypeScript, Tailwind CSS and Motion. Copy, paste, or install with the shadcn CLI.

UI Beats runs on your own machine: your AI app starts it with the command npx -y shadcn and talks to it over standard input and output.

At a glance

Publisher
nikhils4 (community)
Runs
Locally on your machine
Install from
Node.js package on npm: shadcn
Written in
TypeScript
License
MIT
GitHub stars
236

How to set up UI Beats

  1. Install Node.js on the machine that runs your AI app, because UI Beats starts with npx and downloads its package on first run.
  2. Check the UI Beats README for keys or settings; the registry lists none that UI Beats requires.
  3. Add UI Beats 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 UI Beats tools to confirm the connection.
  5. Run one read-only task with UI Beats first, and keep your app asking before each tool call until the results look right.

UI Beats compared with similar servers

  • Feedback Collector by sanshao85 has fewer GitHub stars than UI Beats (234 against 236); both are community servers, and both run locally.
  • Sketchcraft by jasonsutter87 has fewer GitHub stars than UI Beats (236 against 236); both are community servers, and both run locally.
  • Mermaid (peng-shawn) by peng-shawn has fewer GitHub stars than UI Beats (234 against 236); both are community servers, and both run locally.

Before you connect UI Beats

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

Marketing use cases for UI Beats

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

Small business

  • A small business can use UI Beats to resize and adapt one design for every channel instead of hiring for each version.
  • Owners can ask UI Beats to pull brand assets and make quick ad and social variations that still look on brand.
  • UI Beats runs on your own computer, which keeps data local; it needs a little setup, so a small team should plan an hour for it.

Mid-market

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

Enterprise

  • Enterprises can use UI Beats with brand rules and approved assets only, so generated work stays inside the brand system.
  • Large creative ops teams can use UI Beats to localize and version assets for many markets with review built in.
  • UI Beats is a community server, so have security review the code and pin a version before UI Beats 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

UI Beats README

From nikhils4/ui-beats on GitHub, shared under its MIT license. Images are left out; the original has them.

README.md

UI Beats

Supercharge your UI.

Beautifully designed, animated React components you can copy, paste, or install with the shadcn CLI.

Documentation (uibeats.com/docs) · Components · Blog

What this is

UI Beats is a collection of animated React components built with TypeScript, Tailwind CSS and Motion.

It is not a package you install and import from. You own the code: add a component, then change whatever you like. No version pinning, no wrapper APIs, no waiting on a maintainer to expose a prop.

Install a component

npx shadcn@latest add https://uibeats.com/r/flip-card.json

The CLI writes the component into your project and installs the npm packages it needs. Every component page lists its own command, and the full index lives at /r/registry.json.

Prefer to copy and paste? Every component page has the full source under Installation → Manual.

Use it from your coding agent

Most components get picked by whatever is writing the code. The MCP server puts the whole catalogue inside Claude Code, Cursor, Windsurf and anything else that speaks MCP, so your agent can search for a component and read its real props instead of guessing.

claude mcp add uibeats -- npx -y @uibeats/mcp

It exposes four tools: search_components, get_component, list_components and get_install_command. See packages/mcp or the MCP docs.

For agents that only fetch URLs, the same content is served as plain text:

URL What it is
/llms.txt Index of every component, linking to its markdown
/llms-full.txt Every component's props and full source, in one file
/docs/<category>/<name>.md Any component page as markdown, just add .md
/r/components.json The catalogue as JSON, with props and guidance. CORS is open

Tune before you copy

Every component has a playground at /playground/<category>/<name>: the props table becomes a live control panel, the preview updates as you drag, and the snippet carries only what you actually changed. All 52 of them.

The controls are derived from the same props array that renders the documentation table, so a control can never describe a prop the docs do not.

Alongside it, Motion Studio, a cubic-bezier and spring editor. Drag the curve or tune stiffness, damping and mass, watch it run on three properties at once, and copy the Motion transition or the CSS. Springs are integrated from the same damped-oscillator model Motion uses rather than approximated with a bezier, so the preview is the motion you will ship.

Components

52 components across six categories:

Category Components
Animation Animated List, Bounce, Fade In, Fade In Unblur, Rotate In, Scale In, Smooth Reveal, Stagger List
Background Animated Beam, Aurora, Dot Pattern, Gradient Flow, Meteors, Orbiting Elements, Particles, Retro Grid, Sparkling Grid
Button Confetti Button, Loading Button, Magnetic Button, Rainbow Button, Ripple Button, Shimmer Button, Subscribe Button
Card Card Stack, Expandable Card, Flip Card, Glowing Card, Morphing Card, Tilt Card
Component Avatar Stack, Bento Grid, Border Beam, Comparison Slider, Dock, Liquid Tabs, Marquee, Progress Ring, Scratch to Reveal, Scroll Progress, Shimmer Effect, Terminal, Timeline
Text Flip Words, Gradient Text, Gravity Text Swap, Number Ticker, Scroll Reveal, Split Flap, Text Scramble, Text Shine, Text Writer
Motion you can switch off

Every component honours prefers-reduced-motion. Not "most of them": the whole registry, checked in CI: tests/reduced-motion.test.ts fails the build if a component ships without consulting the preference, or reads it and then animates anyway.

What that means per component is a judgement, not a switch. An entrance is settled from the first frame. A carousel stops advancing on its own but still moves when you press the button. Flip Card still turns, because the back face is the point; it just cuts instead of sweeping.

Themed by your tokens, not ours

Components read shadcn's own variables (--card, --border, --muted-foreground), so an installed component wears your palette. The few that need a colour shadcn does not define ship it with them: cssVars in the registry item, merged into your stylesheet by the CLI. See config/tokens.ts; the build fails on a component that reads a variable nothing defines.

Local development

Requires Node 20.9+ and Yarn 4 (via Corepack).

git clone https://github.com/nikhils4/ui-beats.git
cd ui-beats
corepack enable
yarn install
yarn dev

The site runs at http://localhost:3000.

Scripts
Script What it does
yarn dev Start the dev server
yarn build Build the registry, then the production site
yarn start Serve the production build
yarn lint ESLint (flat config)
yarn typecheck tsc --noEmit
yarn test Vitest unit tests
yarn test:e2e Playwright end-to-end tests against a production build
yarn test:visual Motion frame diffs against the committed baselines
yarn format Prettier
yarn registry:build Regenerate public/r/ from the component source
yarn new:component Scaffold a component and wire it into every registry

How it fits together

yarn new:component --name flip-clock --category component

That writes the four files below, registers them in all three maps, and leaves a stub that compiles and passes the suite. The rest of this section is what it does, for when you need to do it by hand.

Adding a component means adding four files. The sidebar, the docs page, the sitemap, the command menu and the shadcn registry entry are all derived from them; there is no central list to keep in sync.

components/demo/<category>/<name>.tsx         the component itself
components/usage/<category>/<name>.usage.tsx  a runnable example
content/docs/<category>/<name>.content.ts     title, description, props table
content/docs/index.ts                         add the config to the array
components/website/component-preview.tsx      one line in the lazy preview map

Optionally a fifth, to give it a playground:

components/playground/<category>/<name>.playground.tsx   renders it from live values
components/website/playground-harnesses.tsx              one line in the lazy harness map

Everything else is generated:

  • lib/registry.ts joins each config with its source on disk and derives the npm dependency list from the component's own import statements.
  • lib/playground.ts turns the documented props table into controls: a string-literal union becomes a select, a number becomes a range with a bounded scale, a hex-defaulted colour prop becomes a swatch.
  • lib/agent-docs.ts renders the same registry data as markdown for /llms.txt, /llms-full.txt and the per-component .md routes.
  • config/side-nav.ts builds the sidebar from the same array.
  • scripts/build-registry.ts emits public/r/*.json for the shadcn CLI, plus components.json for the MCP server.
  • app/docs/[category]/[component]/page.tsx statically generates one page per component, with real per-page metadata.
Stack
Area Choice
Framework Next.js 16 (App Router, React 19)
Styling Tailwind CSS v4 (CSS-first theme, no JS config)
Animation Motion
Content MDX via next-mdx-remote, frontmatter via gray-matter
Highlighting Shiki, at build time
Distribution shadcn registry, MCP server, llms.txt
Testing Vitest + Testing Library, Playwright

Contributing

Contributions are welcome; see CONTRIBUTING.md and the contribute guide. Contributors are credited on their component's docs page.

Attribution

Every component says where it came from. The credits field on each component's config drives the Credits block on its docs page, the author field in its registry JSON, and the author in its structured data.

Eighteen components (Tilt Card, Text Scramble, Magnetic Button, Stagger List, Dock, Marquee, Number Ticker, Scroll Reveal, Orbiting Elements, Animated Beam, Animated List, Border Beam, Card Stack, Liquid Tabs, Retro Grid, Ripple Button, Scratch to Reveal and Split Flap) were written with Claude Code and are credited as such rather than presented as community contributions. They are reviewed and maintained here like any other component.

Security

Found a vulnerability? Please follow SECURITY.md rather than opening a public issue.

License

MIT © Nikhil Singh

Questions about UI Beats

What is the UI Beats MCP server?

Animated React components you own. 55 components built with TypeScript, Tailwind CSS and Motion. Copy, paste, or install with the shadcn CLI. UI Beats is maintained by nikhils4 on GitHub at nikhils4/ui-beats, and works with AI apps that support the Model Context Protocol, such as Claude, Cursor and VS Code.

How do I install the UI Beats MCP server?

Add UI Beats to your AI app's MCP config with the command npx -y shadcn. In Claude Code, run claude mcp add --transport stdio ui-beats -- npx -y shadcn. To run UI Beats this way you need Node.js installed.

Does UI Beats need an API key?

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

Is UI Beats an official MCP server?

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

What license is UI Beats under?

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