TEST 025
Add React Bits effects to your site with one link and Claude Code
Short answer
Open a piece on reactbits.dev, copy its page link, and paste it into Claude Code in one line: "Add this as the background behind my headline:" followed by the link. In my run, on a plain React site with no setup, Claude Code found the piece, read its code and its one package, installed it, put it behind the headline and passed the build in 65 seconds.
React Bits is a free library of 217 animated pieces for React sites, by David Haz. You don't install the library or copy code: you give Claude Code a piece's link and it does the rest. Kits like it sell for about $199.
The prompt
- Open reactbits.dev and pick a piece.
- Copy the page link from your browser.
- Paste this into Claude Code, with your link at the end:
Add this as the background behind my headline: https://reactbits.dev/c/backgrounds/hyperspeedThat's the whole request I ran. For a text effect or a card, say where it should go in the same sentence, for example "Add this to my hero headline:" and the link.
What you get: five kinds
React Bits' 217 pieces come in five kinds:
- 63 backgrounds: full-page motion behind your content.
- 33 text animations: headlines that flip, type, glitch or come into focus.
- 48 ready-made blocks: galleries, cards, menus, bento grids.
- 38 animations: effects that follow the pointer or play on their own.
- 35 tiny interactions: buttons, tickets, folders and menus that react when you touch them.
Ten to start with
- Liquid Chrome: soft ribbons of chrome swirling through a dark pool.
- Hyperspeed: a night highway of light trails. The one in my run.
- Web Threads: glowing threads that light up under the pointer. The background behind me in the reel.
- Light Tunnel: a fibre-optic tunnel with comets of light racing into depth.
- Split Flap Text: a departure board that clacks through to each new phrase.
- True Focus: blur that moves word by word across your headline.
- Dome Gallery: your photos on a 3D dome you can spin.
- Profile Card: a card that tilts toward the pointer, with a foil shine.
- Splash Cursor: ink that swirls behind the pointer and splashes on click.
- Paper Crumple: an image that crumples like paper while you hold and drag it.
Every other piece has a live demo on reactbits.dev.
In your videos too
The moving backgrounds in my reel are React Bits pieces, recorded playing on their own pages. To render one inside a coded video tool like HyperFrames, it needs a small change first: Web Threads took 6 of its 586 lines, so it follows the video's clock instead of the browser's.
Things to take note of
I test one free tool like this, so you don't have to. Follow @vibecodernel for the next one.
Questions
What is React Bits?
React Bits is a free library of 217 animated pieces for React sites, by David Haz: 63 backgrounds, 48 ready-made blocks, 38 animations, 35 tiny interactions and 33 text animations, each with a live demo on reactbits.dev.
Is React Bits free?
Yes, including on paid client sites. Its licence (MIT + Commons Clause) only stops you reselling the components themselves.
Do I need to copy any code?
No. I pasted one piece's page link into Claude Code with one line of text. On a plain React site with no setup, it fetched the piece, installed its one package, put it behind my headline and passed the build in 65 seconds.
Does React Bits work on a site that isn't React?
No. The pieces are React components. If Claude Code built your site as plain HTML, ask it to rebuild it in React first; Vite + React is a good default.
Do the pieces work on phones?
Yes, with two catches. Pieces that follow the mouse only move when someone touches the screen, and heavy 3D backgrounds can slow older phones, so check yours on a real phone.