Logo
React Bytes
Menu

Get Started

Installation

Every component in React Bytes ships as source, not a package — pick a CLI to fetch it in one line, or copy the code by hand. Either way, once it lands in your project it's completely yours.

There's no runtime dependency on React Bytes itself, so there's nothing to keep in sync later.

Click the cards below to change your preferred method:

A lighter alternative — jsrepo reads the same shadcn-compatible registry, so every component here works with it out of the box.

Run the command

Swap <COMPONENT>, <LANGUAGE> and <STYLE> for the component you picked.

bash
npx jsrepo@latest add shadcn:https://reactbytes.online/r/<COMPONENT>-<LANGUAGE>-<STYLE>

Available language / style combinations:

JS-CSSJavaScript + Plain CSS
JS-TWJavaScript + Tailwind
TS-CSSTypeScript + Plain CSS
TS-TWTypeScript + Tailwind

Requirements

  • React18 or later
  • Node.js16+
  • Tailwind CSSOptional — a few components rely on it

Next up