Dev Resources
React Bits favicon

React Bits

Programming/UI/Animation

A large collection of animated React components made to spice up your web creations. Animations, components, backgrounds, and awesome stuff with customization options as props.

React Bits's website screenshot

About React Bits

React Bits is a library of over 165 animated and customizable React components, covering backgrounds, text effects, animations, and UI patterns. Components are organized into four categories and are available in four variants: JavaScript or TypeScript, paired with either CSS or Tailwind. Installation is done via a single command (supporting npx, pnpm dlx, bunx, or yarn dlx, with shadcn and jsrepo registry support) that adds the component's source files directly into the project, with no added package dependency; components use underlying libraries such as ogl and GSAP directly. The site documents compatibility with Vite, Next.js, Astro, and Remix.

The core component library is free and open source, distributed under a license noted on the site. A paid Pro tier is also offered, providing additional Pro components, blocks, and templates. The library is aimed at React developers looking to add animated visual effects and UI elements to projects without building them from scratch, and the site notes it can be used alongside AI coding tools such as Cursor, Copilot, and v0.

Separate related projects, Vue Bits and Svelte Bits, are referenced as part of the same product family. The project is credited to David Haz (davidhdev) and lists sponsor placements including shadcnblocks.com and Shadcncraft.

Key features

  • 165+ animated React components including backgrounds, text effects, and UI patterns
  • Every component available in JS/TS with CSS or Tailwind variants
  • CLI installation via npx, pnpm, bunx, or yarn that drops component source directly into your project
  • Works with Vite, Next.js, Astro, and Remix
  • Components use libraries like ogl and GSAP directly with no react-bits package dependency
  • Includes visual editors for customizing component props before grabbing the code

Frequently asked questions

Is React Bits free?

Yes, the core library of 165+ components is free forever and open source; a paid Pro tier adds extra components, blocks, and templates.

Does installing a component add a dependency on react-bits?

No, components are copied as source directly into your project and use underlying libraries like ogl and GSAP directly, so there is no react-bits package dependency.

What frameworks and languages does it support?

It supports React with both JavaScript and TypeScript, styled with either plain CSS or Tailwind, and works with Vite, Next.js, Astro, and Remix.

How do I install a component?

You install components via CLI tools such as npx shadcn, jsrepo, pnpm dlx, bunx, or yarn dlx, which drop the component's source straight into your project with no config needed.

Who is React Bits for?

It is aimed at React developers who want ready-made animated backgrounds, text effects, and UI components instead of building visual effects from scratch.

Advertise here

Featured products

  • SerpApi - Search API favicon
  • CoreClaw favicon

Show your product to thousands of developers

· 100k monthly pageviews
· 7k newsletter subscribers

Advertise your product