ui-beats

作者 nikhils4已验证

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

229
Stars
12
Forks
TypeScript
语言
2026/8/23
添加时间

⚠️ 第三方软件声明

本 Skill 为第三方开源软件,独立托管于 GitHub。SkillTip 仅为信息目录,不控制或维护底层仓库。所显示的安全检查为自动化且范围有限,安装前请自行审查源码。

阅读服务条款

安装

添加到你的 Claude Code skills 目录:

# Add to your Claude Code skills
git clone https://github.com/nikhils4/ui-beats

快速入门

使用 ui-beats 等 Skills 的指南。

安全报告

已验证

上次扫描:—

{
  "status": "PASSED",
  "issues": []
}

README.md

UI Beats

UI Beats

Supercharge your UI.

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

Documentation · Components · Blog

CI License: MIT Next.js React Tailwind CSS


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:

URLWhat it is
/llms.txtIndex of every component, linking to its markdown
/llms-full.txtEvery component's props and full source, in one file
/docs/<category>/<name>.mdAny component page as markdown, just add .md
/r/components.jsonThe 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:

CategoryComponents
AnimationAnimated List, Bounce, Fade In, Fade In Unblur, Rotate In, Scale In, Smooth Reveal, Stagger List
BackgroundAnimated Beam, Aurora, Dot Pattern, Gradient Flow, Meteors, Orbiting Elements, Particles, Retro Grid, Sparkling Grid
ButtonConfetti Button, Loading Button, Magnetic Button, Rainbow Button, Ripple Button, Shimmer Button, Subscribe Button
CardCard Stack, Expandable Card, Flip Card, Glowing Card, Morphing Card, Tilt Card
ComponentAvatar Stack, Bento Grid, Border Beam, Comparison Slider, Dock, Liquid Tabs, Marquee, Progress Ring, Scratch to Reveal, Scroll Progress, Shimmer Effect, Terminal, Timeline
TextFlip 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

ScriptWhat it does
yarn devStart the dev server
yarn buildBuild the registry, then the production site
yarn startServe the production build
yarn lintESLint (flat config)
yarn typechecktsc --noEmit
yarn testVitest unit tests
yarn test:e2ePlaywright end-to-end tests against a production build
yarn test:visualMotion frame diffs against the committed baselines
yarn formatPrettier
yarn registry:buildRegenerate public/r/ from the component source
yarn new:componentScaffold 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

AreaChoice
FrameworkNext.js 16 (App Router, React 19)
StylingTailwind CSS v4 (CSS-first theme, no JS config)
AnimationMotion
ContentMDX via next-mdx-remote, frontmatter via gray-matter
HighlightingShiki, at build time
Distributionshadcn registry, MCP server, llms.txt
TestingVitest + 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.

Contributors

Security

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

License

MIT © Nikhil Singh

常见问题

What is ui-beats?

ui-beats is an open-source mcp servers skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by nikhils4. Animated React components you own. 55 components built with TypeScript, Tailwind CSS and Motion. Copy, paste, or install with the shadcn CLI. It has 229 GitHub stars.

Is ui-beats safe to use?

Yes. ui-beats passed SkillsLLM's automated security scan — a dependency vulnerability audit plus prompt-injection heuristics — with no high-severity issues. You can read the full report in the Security Report section on this page.

How do I install ui-beats?

Clone the repository with "git clone https://github.com/nikhils4/ui-beats" and add it to your Claude Code skills directory (see the Installation section above).

What programming language is ui-beats written in?

ui-beats is primarily written in TypeScript. It is open-source under nikhils4 on GitHub, so you can review or fork the full source.

Are there alternatives to ui-beats?

Yes. SkillsLLM lists many other MCP Servers skills you can browse and compare side by side. Open the MCP Servers category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh ui-beats against similar tools.

评论 (0)

暂无评论,成为第一个分享想法的人!

n8n

by n8n-io

12

Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.

201,88160,308TypeScript
MCP 服务器apisai-tools
查看详情

Scrapling

by D4Vinci

🕷️ An adaptive Web Scraping framework that handles everything from a single request to a full-scale crawl!

75,9137,581Python
MCP 服务器
查看详情

TrendRadar

by sansan0

⭐AI-driven public opinion & trend monitor with multi-platform aggregation, RSS, and smart alerts.🎯 告别信息过载,你的 AI 舆情监控助手与热点筛选工具!聚合多平台热点 + RSS 订阅,支持关键词精准筛选。AI 智能筛选新闻 + AI 翻译 + AI 分析简报直推手机,也支持接入 MCP 架构,赋能 AI 自然语言对话分析、情感洞察与趋势预测等。支持 Docker ,数据本地/云端自持。集成微信/飞书/钉钉/Telegram/邮件/ntfy/bark/slack 等渠道智能推送。

61,65224,883Python
MCP 服务器
查看详情

context7

by upstash

Context7 Platform -- Up-to-date code documentation for LLMs and AI code editors

61,0602,938TypeScript
MCP 服务器
查看详情

High-performance code intelligence MCP server. Indexes codebases into a persistent knowledge graph — average repo in milliseconds. 158 languages, sub-ms queries, 99% fewer tokens. Single static binary, zero dependencies.

39,9393,219C
MCP 服务器
查看详情

开发者还喜欢

基于喜欢此 Skill 的开发者投票和收藏

ECC

by affaan-m

10

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

242,21936,702JavaScript
AI 智能体ai-agentsanthropicclaude-code
查看详情
15

An agentic skills framework & software development methodology that works.

234,96620,863Shell
AI 智能体ai-agentsbrainstorming
查看详情

hermes-agent

by NousResearch

10

The agent that grows with you

234,43747,175Python
AI 智能体ai-agentsagent-orchestration
查看详情

n8n

by n8n-io

12

Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.

201,88160,308TypeScript
MCP 服务器apisai-tools
查看详情

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

185,94028,768JavaScript
AI 智能体ai-agentsanthropicclaude-code
查看详情

cc-switch

by farion1231

3

A cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode, OpenClaw, Grok Build & Hermes Agent. Only official website: ccswitch.io

128,8688,826Rust
AI 智能体claude-codeai-tools
查看详情