react-bits
БесплатноБез исполняемых скриптовНе проверенAdds animated, interactive React components from the React Bits library (split-text effects, shader and aurora backgrounds, cursor effects, animated cards and…
от TerminalSkills★ 221 звезда на GitHubОб этом скилле
React Bits — copy-in animated React components
Overview
React Bits is a library of 215+ free animated components, grouped as Text Animations, Animations (cursor effects, hover interactions, borders), Components (cards, navigation, galleries), Micro (buttons, toggles, small details) and Backgrounds (gradients, particles, grids, shaders). It is not an npm dependency. Each component is a registry item: the CLI copies its source file into your project, installs the few packages it needs, and from then on the code is yours to edit.
Every component exists in four flavors, selected by a suffix on its name: language JS or TS, then styling CSS or TW (Tailwind). Example: SplitText-TS-TW.
An agent can: choose components, install them, add the missing packages, drop them into a page, and tune their props. The visual result (timing, colors) is best checked by the user in a browser; an agent can confirm only that it compiles. React Bits Pro is a separate paid product; this skill covers the free library.
Instructions
Prerequisites
The project needs a components.json (create it once with npx shadcn@latest init, or write it by hand) with aliases.components pointing at your components folder. Register the React Bits namespace in it:
{
"registries": {
"@react-bits": "https://reactbits.dev/r/{name}.json"
}
}
If the project already uses shadcn/ui, only add the registries entry and leave the rest alone.
Install a component
With the shadcn CLI (the documented default):
npx shadcn@latest add @react-bits/SplitText-TS-TW
npx shadcn@latest add @react-bits/Aurora-TS-TW @react-bits/BlurText-TS-TW # several at once
With jsrepo:
npx jsrepo@latest add https://reactbits.dev/r/SplitText-TS-TW
On pnpm, yarn or bun replace npx with pnpm dlx, yarn or bun x --bun. Without a CLI, open the component page on reactbits.dev, pick the flavor in the Code tab and paste the file.
The CLI writes the file into the folder named by aliases.components in components.json (for example src/components/SplitText.tsx) and installs the packages the registry item declares. Verified examples: SplitText needs gsap and @gsap/react; BlurText needs motion; Aurora, Magnet and Ballpit declare no packages. Read the component's imports after installing, because some components use other libraries such as three or ogl; install any that are missing with the project's package manager.
You can read what an item contains before installing it:
curl -s https://reactbits.dev/r/SplitText-TS-TW.json
The JSON lists dependencies, registryDependencies and the file contents. The site also publishes https://reactbits.dev/llms.txt as an index for agents.
Find the right component
Browse categories at https://reactbits.dev/c/text-animations, /c/animations, /c/components, /c/micro and /c/backgrounds. Names seen in the repository include, for text: SplitText, BlurText, ShinyText, GradientText, CountUp, TextType, ScrambledText, RotatingText; for animations: Magnet, ClickSpark, GlareHover, StarBorder, AnimatedContent, FadeContent; for backgrounds: Aurora, Particles, Silk, Waves, Galaxy, Plasma, DotGrid, LiquidChrome; for micro: FlipCard, HoldButton, SquishSwitch. Confirm a name exists with curl -s -o /dev/null -w "%{http_code}" https://reactbits.dev/r/Silk-TS-TW.json before relying on it (200 means it exists).
Use the component
Components are default exports and take props; list them in the installed file (for TS flavors, an exported props type is near the top).
import Aurora from "@/components/Aurora";
import SplitText from "@/components/SplitText";
import BlurText from "@/components/BlurText";
export function Hero() {
return (
<section className="relative min-h-screen overflow-hidden">
<Aurora colorStops={["#5227FF", "#7cff67", "#5227FF"]} amplitude={1} speed={0.5} />
<div className="relative z-10">
<SplitText text="Ship faster" tag="h1" splitType="chars" className="text-6xl font-bold" />
<BlurText text="Animated by React Bits" animateBy="words" delay={150} />
</div>
</section>
);
}
Props seen on the current versions: SplitText takes text, tag, splitType (chars, words, lines), delay, duration, trigger (view, load, hover, click) and onLetterAnimationComplete; BlurText takes text, animateBy, direction, delay, effect; Aurora takes colorStops, amplitude, speed, blend, mouseInteraction, paused, className. Prop sets differ per component and version, so read the file you installed.
Customize and troubleshoot
- The installed file is plain source: change defaults, colors and easing directly in it rather than wrapping it. Keep a note of what you changed, since re-running
addwould overwrite it. - If the CLI says it cannot find
components.json, run `npx sha
Установить react-bits в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл react-bits?
Adds animated, interactive React components from the React Bits library (split-text effects, shader and aurora backgrounds, cursor effects, animated cards and micro-interactions) to a project by copying their source in through the shadcn CLI or jsrepo. Use when a user wants to "add an animated background", "make the hero text animate", "use React Bits", "add a cursor effect to my React site", or pick a component flavor (JS or TS, CSS or Tailwind) and install its dependencies.
Как установить скилл react-bits?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл react-bits запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
frontend-design
Guidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making…
от Anthropicwebapp-testing
Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing…
от Anthropicbrand-guidelines
Applies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand…
от Anthropicweb-artifacts-builder
Suite of tools for creating elaborate, multi-component claude.ai HTML artifacts using modern frontend web technologies (React, Tailwind CSS, shadcn/ui). Use…
от Anthropic