React Bits

Installation

Every component installs as source code you own. Pull it in with one CLI command, or copy the files by hand.

With the CLI

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

Swap SplitText for your chosen component. The ending picks the variant: JS or TS, then CSS or TW. Import the installed component and render it in your React app.

By hand

Open a component’s Code tab, choose your language and styling, copy the files into your project and install the dependencies listed there.

Try the Split Text example