React Bits is a comprehensive collection of 110+ animated React components designed to help developers create stunning, interactive web experiences. Our components span four main categories and are built with performance, customization, and developer experience in mind.
- π¨ Creative Animations: From subtle micro-interactions to eye-catching effects
- π§ Highly Customizable: Every component comes with extensive prop options
- π± Responsive Design: Built to work seamlessly across all devices
- β‘ Performance Optimized: Minimal dependencies and optimized rendering
- π Multiple Variants: Choose from 4 different implementation styles
Get started with React Bits in seconds:
# Using shadcn/ui
npx shadcn@latest add "https://reactbits.dev/r/component-name"
# Using jsrepo
npx jsrepo add github/sh20raj/react-bits/component-nameVisit reactbits.dev to explore all components with live previews and copy-paste ready code.
|
Interactive animations and effects
|
Dynamic and animated backgrounds
|
|
Interactive UI components
|
Engaging text effects and typography
|
React Bits supports both shadcn/ui and jsrepo for seamless component installation:
npx shadcn@latest add "https://reactbits.dev/r/animated-list"npx jsrepo add github/sh20raj/react-bits/animated-list- Browse components at reactbits.dev
- Copy the component code
- Install required dependencies
- Paste into your project
Every component comes in 4 variants to match your project setup:
| Variant | Description | Best For |
|---|---|---|
| JS-CSS | JavaScript + CSS Modules | Traditional React projects |
| JS-TW | JavaScript + Tailwind CSS | Modern styling workflow |
| TS-CSS | TypeScript + CSS Modules | Type-safe traditional projects |
| TS-TW | TypeScript + Tailwind CSS | Modern type-safe projects |
- Node.js 18+
- npm or yarn
# Clone the repository
git clone https://github.com/sh20raj/react-bits.git
cd react-bits
# Install dependencies
npm install
# Start development server
npm run dev
# Build for production
npm run buildsrc/
βββ content/ # JS-CSS components
βββ tailwind/ # JS-TW components
βββ ts-default/ # TS-CSS components
βββ ts-tailwind/ # TS-TW components
βββ demo/ # Component demos
βββ components/ # App components
βββ assets/ # Static assets
We welcome contributions! Here's how you can help:
- π Report Bugs: Found an issue? Open a bug report
- π‘ Request Features: Have an idea? Submit a feature request
- π§ Submit Code: Check our open issues for tasks
- π Improve Docs: Help us make the documentation better
- Fork the repository
- Create a feature branch:
git checkout -b feature/amazing-component - Commit your changes:
git commit -m 'Add amazing component' - Push to the branch:
git push origin feature/amazing-component - Open a Pull Request
Please read our Contributing Guide for detailed guidelines.
- Vue.js: vue-bits.dev
Thanks to all our amazing contributors!
- Shaswat Raj - Creator & Lead Maintainer
Support React Bits development:
- β Star this repository
- π Report bugs and suggest features
- π° Sponsor the project (funds go towards hosting costs)
React Bits is licensed under the MIT + Commons Clause License.
- β Free for personal and commercial use
- β Modify and distribute
- β Cannot sell the library itself
React Bits draws inspiration from the amazing React community. We give credit where it's due and encourage you to reach out if you recognize your work.