react-bits README

The project's README from github.com/DavidHDev/react-bits. As one markdown file: README.md.



react-bits logo

The largest & most creative library of animated React components.
Stand out with 165+ free, customizable animations for text, backgrounds, and UI.

GitHub Repo stars License

📖 Documentation · ⚡ Quick Start · 🛠️ Tools

React Bits component showcase

✨ Why React Bits?

React Bits helps you ship stunning interfaces faster. Instead of spending hours crafting animations from scratch, grab a polished component and customize it to fit your vision.

💬 Text Animations · 🌀 Animations · 🧩 Components · 🖼️ Backgrounds

🚀 Features

🛠️ Creative Tools

React Bits Tools

Beyond components, React Bits offers free creative tools to supercharge your workflow:

Tool What it does
Background Studio Explore animated backgrounds, customize effects, export as video/image/code
Shape Magic Create inner rounded corners between shapes, export as SVG, React code or clip-path code
Texture Lab Apply 20+ effects (noise, dithering, ASCII) to images/videos and export in high quality

📦 Installation

React Bits supports shadcn and jsrepo for quick CLI installs.

# Example: Add a component via shadcn
npx shadcn@latest add @react-bits/BlurText-TS-TW

Each component page includes copy-ready CLI commands. See the installation guide for full details.

You can also select your preferred technologies, and copy the code manually.

🚀 Sponsors

React Bits is proudly supported by these amazing sponsors:

Diamond

shadcnblocks.com

Silver

Shadcncraft shadcnuikit.com

Become a sponsor — Get your brand in front of 500K+ developers monthly.

🤝 Contributing

We'd love your help! Check the open issues or submit ideas via the feature request template.

Please read the contribution guide first — thanks for making React Bits better!

🙌 Contributors

Contributors

👤 Maintainer

David Haz — creator & lead maintainer

🌐 Official Ports

Framework Link
Vue.js vue-bits.dev
Svelte sveltebits.xyz

📊 Stats

Repobeats analytics

🗳️ Credit

React Bits occasionally draws inspiration from publicly available code examples. These are rewritten as full-fledged, customizable components for JS, TS, CSS, and Tailwind. If you recognize your work, open an issue to request credit.

📄 License

MIT + Commons Clause — free for personal and commercial use.

react-bits (DavidHDev/react-bits)

Searching Database…

这是什么?React Bits 是一个开源的 React 动画交互式 UI 组件库,用于打造醒目的网站。它提供 165+ 个现成组件,涵盖文字动画、背景和界面元素。
这是框架,还是即插即用的组件?它是一个组件库,而不是框架。你可以挑选单个组件,添加到任何现有的 React 项目中。每个组件都提供 4 种版本(JS-CSS、JS-TW、TS-CSS、TS-TW),以匹配你的技术栈。
我该如何把组件添加到项目中?可以直接在组件页面上使用 shadcn 或 jsrepo CLI 安装,也可以在选好你偏好的语言和样式组合后,手动复制代码。
使用这些动画还需要额外的库吗?大多数组件很轻量,依赖很少。但 3D 和基于物理的组件需要引入 Three.js 相关包,如 @react-three/fiber、@react-three/drei 和 @react-three/rapier,部分效果还会用到 GSAP。
许可证条款是什么?React Bits 采用 MIT 许可证加 Commons Clause 条款。因此可以免费用于个人和商业用途,但该条款禁止将本库本身作为服务进行销售。
Background Studio、Shape Magic 和 Texture Lab 工具是什么?它们是免费的配套网页工具。Background Studio 可以自定义动态背景,并导出为视频、图片或代码;Shape Magic 可以生成圆角形状过渡效果,并导出为 SVG、React 或 clip-path;Texture Lab 可以对图片和视频应用 20 多种效果,如噪点、抖动和 ASCII。
React Bits 是否支持 React 以外的框架?支持。官方提供了 Vue.js(vue-bits.dev)和 Svelte(sveltebits.xyz)的社区移植版本。
组件的创意来源于哪里?React Bits 有时会参考公开可用的代码示例,将其重写为可完全自定义的 JS/TS/CSS/Tailwind 组件。若原作者提出要求,则会标注其署名。
Creator
DavidHDev
Size
361.9 MB
Stars
49.4K
Updated
CommitOct 16
Age
2y
Commits · 90 Days