React Bits

New Micro-interactions →

React components for

creative developers

Animated components and backgrounds that install as source you own. Tune every value, starting with this page's background.

import { ColorBends } from '@components/ColorBends';

 

function App() {

return (

<ColorBends

color="#A855F7"

speed={0.2}

frequency={1.0}

noise={0.15}

bandWidth={0.14}

rotation={90}

fadeTop={0.75}

iterations={1}

intensity={1.3}

/>

)

}

Nebula

Aurora

Ember

Ice

Every value is editable

What's inside

Dot Field

Line Waves

Blob Cursor

Aurora

Pixel Trail

Magic Rings

210+ Components

Backgrounds, text effects, animations, creative UI components. The stuff you'd build from scratch, already done and battle-tested.

Colors

Shapes

Images

Visual Editors

Three free tools to play with components & create stunning assets for your work.

Text

Animations

Components

Backgrounds

Micro

Well Organized

Five clear categories so you're not scrolling through a wall of unrelated stuff.

JS + CSS

TS + CSS

JS + Tailwind

TS + Tailwind

Pick Your Stack

JavaScript or TypeScript, CSS or Tailwind. Every component comes in all four flavors for full flexibility.

Editor

$ build something memorable

AI-Ready

The docs give you ready-to-use prompts. Works great with Cursor, Copilot, and v0. Describe what you need, drop it in, ship.

GitHub Stars

49K

Growing Fast

React's fastest-growing component library on GitHub. Not even close.

See them in action

Build the complete product.

React Bits Pro adds more components, page blocks, application UI, full Next.js templates and agent skills to the package you already use.

Explore the library →

Get started in seconds

One command drops the component's source straight into your project. No config, no wrapper, no setup step.

Installation guide →

Works with Vite, Next.js, Astro and Remix.

01 Add the component

npx shadcn@latest add @react-bits/Aurora-TS-TW

02 Import it

import Aurora from './Aurora';

03 Render it

<Aurora colorStops={["#3A29FF", "#FF94B4", "#FF3232"]} />

Aurora.jsx

Aurora.css

your-project / src / components

 

1 import { Renderer, Program, Mesh } from 'ogl';

2 import { useEffect, useRef } from 'react';

3

4 export default function Aurora({

5 colorStops = ['#3A29FF', '#FF94B4'],

6 speed = 1,

7 blend = 0.5,

8 }) {

9 const ref = useRef(null);

10

11 return <canvas ref={ref} />;

12 }

uses ogl directly

no react-bits package

The code is yours

React Bits isn't a package you depend on. Each component lands in your repo as source you own.

No wrapper library

Components use ogl, GSAP and friends directly, no react-bits dependency.

Edit anything

It is your source now. Change the shader, the props, the styling, all of it.

No lock-in

If this site vanished tomorrow, everything you already added keeps working.

Sponsors

React Bits stays free thanks to these teams.

Become a sponsor →

Loved by developers

Build something people remember.

Start with the free library. When you need the complete page, product UI and tools to ship it, React Bits Pro is ready.