Skip to content
Ask for a Budget
TechnologyAugust 28, 20269 min readUpdated on November 11, 2026

React Bits: what it is, what the license allows and where it costs you

React Bits has 215+ copy-paste animated components: what the Commons Clause license allows, what they drag along and when they're worth it.

React Bits: what it is, what the license allows and where it costs you
Índice do artigo
faltam 8 min de leitura

React Bits is not a library you install: it's a catalog of code you copy into your project. That difference changes who maintains the code, what the license allows and what shows up in your bundle.

There's a category of tool that confuses anyone budgeting a project: one that looks like a library, is distributed like a library and doesn't behave like a library. React Bits is the most popular example of this category in the React ecosystem, with 51,662 stars on GitHub on November 11, 2026, more than Motion, react-spring and GSAP.

This article explains what you're adopting when you choose React Bits, clarifies the license, which is the most misunderstood point of the project, shows what each component drags along and ends with the criteria for when it's worth it.

Article summary

  • There are 216 components in five categories in the official November 2026 table, in four variants each, which you copy into the project via CLI or manually.
  • The license is MIT with Commons Clause: commercial use allowed, reselling the components prohibited. It is not a license approved by the Open Source Initiative.
  • Copied code becomes yours: you gain full control and take on maintenance, with no automatic updates via npm.
  • Several components depend on animation engines like GSAP, Motion and three.js, so the real bundle cost depends on which ones you choose.

React Bits is a code catalog, not a dependency

React Bits is a collection of animated React components created by David Haz, published in the DavidHDev/react-bits repository since August 2024. The distribution model is the same one popularized by shadcn: instead of installing a package that sits in node_modules, you bring the component file into your own code.

There are three ways to bring it in, and they all end up in the same place. Through the shadcn CLI, with one command per component, in the format npx shadcn@latest add @react-bits/BlurText-TS-TW. Through the jsrepo CLI, with the command shown on each component's page. Or by copying the code from the site straight into a project file.

The command's suffix reveals a design decision that solves a real pain: each component exists in four variants, JavaScript with CSS, JavaScript with Tailwind, TypeScript with CSS and TypeScript with Tailwind. You don't get a component that needs to be translated to your stack; you get one already written in it.

The project also works with the shadcn MCP server: just add the @react-bits registry to components.json so that coding agents like Claude Code, Cursor and Codex can find and add components on their own, which speeds up copying and makes it even more important to review what went in.

There are more than 215 components, and the largest category is the one nobody expects

The project's official material advertises more than 215 components, and the README table adds up to 216, distributed very unevenly across five categories. When this article was published, on August 28, 2026, there were 168 in four categories. The fifth, Micro, with animated buttons, toggles and indicators, came in later.

Backgrounds63
Components48
Animations38
Micro34
Text Animations33
Components per category in the README table of the DavidHDev/react-bits repository, as read on November 11, 2026.

The most populated category is animated backgrounds, and that tells you what the catalog really is. It's not an interface library in the sense of buttons, forms and tables: it's a catalog of visual effects, aimed at landing pages, portfolios and product pages that need to impress in the first three seconds. Not even the Micro category changes that: its buttons and toggles are animated details, not a set of form controls with documented accessibility. If you're looking for a design system with accessible form components, you're in the wrong place.

The author has also started selling React Bits Pro, with paid components, page sections, interface blocks and templates. The free catalog described here remains open and under the same license, and the project states that it stays free.

The license is MIT with Commons Clause, and that changes what you can do

The most misunderstood point of the project is in the license file. React Bits is not under plain MIT: it's under MIT with the Commons Clause License Condition v1.0, signed by David Haz. The Commons Clause is a condition that attaches to a permissive license and removes one specific right from it, the right to sell the software.

The current license text goes beyond the components. The same restriction covers the site's tools and the sound library: you may not sell or redistribute the tools, or offer them, or a very similar copy, as a hosted service. What you export from them is yours to use in an application, website or product, including a paid one, but it can't be sold on its own, as a pack of backgrounds, textures, sounds or templates.

This means the license badge on the repository, which says "MIT + Commons Clause", is literal and not decorative. The Commons Clause is not on the Open Source Initiative's list of approved licenses, because it restricts the field of use, and that alone is enough to fail a compliance policy that requires OSI approval.

In practice, the restriction affects fewer people than it seems

The correct reading of the Commons Clause here is that it targets resellers, not users. Building a client's website with React Bits components and charging for the website is explicitly allowed by the license text, because what you sell is the application, not the components.

What the clause blocks are three specific and fairly rare scenarios: packaging the components and selling them as your own library, including them in a commercial template whose core value is the components themselves, and porting the catalog to another technology and distributing the result. For Vue and Svelte, the project's README already points to official ports (Vue Bits and Svelte Bits), which removes the most common reason for porting. Along the same lines, anyone thinking of selling a pack of backgrounds or textures generated with the site's tools also runs into the license.

There's a fourth scenario that deserves attention from anyone working with governance: a company with a license policy that only accepts what the Open Source Initiative approves will reject React Bits in legal review, even if the intended use is allowed by the text. If your client has that control, check before writing the first line, not after delivery.

Copying code changes who maintains it

The most cited advantage of the copy-and-paste model is control: the component is in your repository, you edit it freely, without fighting the API of a library that didn't anticipate your case. The trade-off is almost never stated with the same clarity.

Installed library

The maintainer fixes it for you
  • Bug fixes arrive through version updates
  • Compatibility with new React versions is the project's responsibility
  • Customization depends on what the API exposes
  • The code shows up in node_modules, not in the diff

Copied component

You fix it yourself
  • Fixes only arrive if someone goes looking for them
  • Compatibility with new React versions is yours
  • Customizing means editing the file
  • The code enters your repository and your review

Neither side is better in the abstract. What decides is the project's horizon: on a campaign site with a six-month life, copying is pure advantage, because nobody's going to update anything anyway. In a product that runs for years and goes through audits, every copied component is code your team has adopted and will need to maintain when React changes.

Each component brings its own animation engine

The project's material describes the dependencies as minimal, and that's true per component and misleading in aggregate. The catalog doesn't run on a single engine: it uses whatever each effect requires, and the repository's dependency file lists 44 packages, including four distinct animation and rendering engines.

EngineWhat it powers in the catalog
GSAPTimelines and more elaborate text effects, with the @gsap/react package for the React lifecycle.
MotionDeclarative animations tied to state, gestures and enter and exit transitions.
three.js and OGLWebGL backgrounds and effects, with react-three-fiber and post-processing. It's the heaviest category in the catalog.
matter-jsEffects with two-dimensional physics simulation, like elements colliding and falling.

Source: package.json file of the DavidHDev/react-bits repository, as read on November 11, 2026. The list covers the whole project, including the site itself and the tools; each copied component brings only the dependencies it uses.

The practical consequence is that there's no React Bits bundle cost, only the cost of the components you chose. Copying a text effect that uses GSAP and a WebGL background onto the same page means loading two complete engines, and that needs to be checked in the build, not assumed from the minimal-dependency line.

The free tools are the least discussed hook

Besides the components, the project publishes five free tools on its site, up from three in August 2026, and they solve problems that normally require design software. Background Studio lets you explore the animated backgrounds, adjust parameters live and export the code, a high-resolution image or a looping video in MP4 or WebM. Center Stage turns a screenshot or recording into a product image inside a phone, laptop or browser, with export in 4K, GIF or a link. Shape Magic draws a logo from shapes, text or your own SVG, applies 3D materials like chrome, glass and neon and exports SVG, PNG, favicon, video or React. Texture Lab applies 160 styles and more than 75 combinable effects, from ASCII and halftone to glass and glitch, on a photo, video or camera. Sound Lab brings together 200 interface and video sounds, with adjustments and effects, to install by command or download as WAV, MP3 or OGG.

They're worth mentioning because they change the project's value calculation for those who won't copy any component at all. Exporting an animated background as a video or as code, without writing WebGL, is useful even for a team that has already decided to use another animation library. Just remember the license rule: what comes out of the tools can go into your product, but it can't become a product sold on its own.

React Bits or an animation library

Comparing the two is comparing different categories, and that's exactly why the comparison comes up: anyone searching for "animation in React" finds both in the same search and has to choose.

When the catalog wins

  • The effect you want already exists ready-made and you don't need it customized
  • The deadline is short and the page is a showcase, not a long-lived product
  • Nobody on the team is proficient in WebGL or text animation
  • You want the visual result without designing the animation from scratch

When the library wins

  • The animation is product-specific and doesn't exist ready-made
  • The project will live for years and go through React updates
  • Consistency across dozens of screens matters more than an isolated effect
  • The company's license policy requires OSI approval

In most projects, the honest answer is both: the animation library for what belongs to the product, the catalog for the one-off effect on the landing page. The mistake is treating React Bits as a design system and building the entire product on copied components that nobody will maintain.

When React Bits is not the right choice

Three situations argue against the catalog.

A product with a formal accessibility requirement. Elaborate visual effects and screen readers were rarely designed together, and every copied component becomes your responsibility in the audit.

A system interface, with forms, tables and dense navigation. The catalog is strong in backgrounds, text and entrance effects, and doesn't cover the vocabulary of application components.

A team with no process for reviewing third-party code. Copying files into the repository without someone reading what went in is like installing a dependency without looking, with the added problem that here the code becomes yours.

How to decide

  • Does the effect you want already exist in the catalog exactly as you need it? If you need to customize a lot, the time savings evaporate.
  • Does your company or your client require an OSI-approved license? If so, the Commons Clause fails before the technical discussion.
  • How many different animation engines will your choice of components load on the same page? Check it in the build.
  • Who maintains this component a year from now? Once copied, the answer is always your team.

If you answered that the effect works as is, that there's no license restriction and that the page is a showcase, React Bits delivers in an afternoon what would take a week. Outside those conditions, the cost shows up after delivery, which is the worst moment to discover it.

Sources and method

The original research for this article was done on August 28, 2026 and reviewed on November 11, 2026, from primary sources. The full license text, the component count per category, the tools, the dependency list and the installation methods come from the DavidHDev/react-bits repository, read in the LICENSE.md, README.md and package.json files. Stars and dates come from the GitHub API, as read on November 11, 2026.

The interpretation of the Commons Clause presented here is a reading of the license text and is not legal advice. In a context with formal compliance requirements, validation should be done by the responsible legal team. React Bits and the other projects mentioned are external, with no commercial relationship with X-Apps.

Frequently asked questions

It's a catalog of animated React components that you copy into your project, via CLI or by copying the code, instead of installing them as a single npm dependency.

Previous post
react-spring: what spring physics animation is and when to use it
Next post
AI in the browser: what really runs today and what changed with PyTorch
Newsletter

One email a month, no noise

What we learn shipping custom software and applied AI.

Related articles

Motion (formerly Framer Motion): what changed, what is free and what costs money9 min · Technology
react-spring: what spring physics animation is and when to use it9 min · Technology
What is a web app and what are its benefits?9 min · Technology
Definitive Low-code Guide: What It Is and When to Use It9 min · Technology
How does a software house work?8 min · Technology

Accelerate your business with X-Apps

Ask for a Budget
X-Apps is an IT provider partner and advised by
Gartner
Receive our e-mails
News on software and applied AI.
Follow X-Apps