Discover/reactbits.dev API
live

reactbits.dev APIreactbits.dev

Access React Bits UI components via API. Retrieve source code, TypeScript props, install commands, and metadata for every component in the registry.

Endpoints
7
Updated
3mo ago
Try it

No input parameters required.

api.parse.bot/scraper/d5e4f987-bba9-42d0-af9b-a6d73345e227/<endpoint>
Ready to send
Fill in the parameters and hit sign in to send to see live response data here.
Use it in your codegrab a free API key at signup
curl -X GET 'https://api.parse.bot/scraper/d5e4f987-bba9-42d0-af9b-a6d73345e227/list_all_components' \
  -H 'X-API-Key: $PARSE_API_KEY'
All endpoints · 7 totalclick to expand

List all available UI components from the reactbits registry. Returns deduplicated components grouped by title with their available variants (JS/TS, CSS/TW).

Input

No input parameters required.

Response
{
  "type": "object",
  "fields": {
    "total": "integer total number of unique components",
    "components": "array of component objects with name, description, registry_name, and variants"
  },
  "sample": {
    "data": {
      "total": 130,
      "components": [
        {
          "name": "Shuffle",
          "variants": [
            "Shuffle-JS-CSS",
            "Shuffle-JS-TW",
            "Shuffle-TS-CSS",
            "Shuffle-TS-TW"
          ],
          "description": "Animated text reveal where characters shuffle before settling.",
          "registry_name": "Shuffle-TS-CSS"
        }
      ]
    },
    "status": "success"
  }
}

About the reactbits.dev API

The React Bits API exposes 7 endpoints covering every component in the reactbits.dev shadcn-style registry, including full source code files, extracted TypeScript prop definitions, and npx install commands. The get_component endpoint returns the complete file set for any component alongside its npm dependencies and parsed interface properties. list_all_components returns the full catalog grouped by title with available JS/TS and CSS/TW variant combinations.

What the API Covers

The React Bits API surfaces the full component catalog from reactbits.dev. list_all_components returns a deduplicated array of component objects — each with a name, description, registry_name, and a variants array indicating which flavor combinations (JavaScript or TypeScript, CSS or Tailwind) are available. The total field gives the count of unique components in the registry.

Fetching Individual Components

get_component accepts either a display name like 'Shuffle' or a fully qualified registry name with variant suffix like 'Shuffle-TS-CSS'. The response includes a files array of source code objects (each with path and content), a dependencies list of npm package strings, and an extracted_props array. Each prop object carries property, type (the TypeScript type string), optional (boolean), and description. If you only need one of these subsets, get_component_source_code returns just the files and get_component_props returns just the props array.

Search and Installation

search_components accepts a query string and matches it against component names, registry names, and descriptions, returning total and a results array in the same shape as the full listing. get_component_install_command returns the exact npx shadcn CLI command string and the dependencies array for any named component, making it straightforward to script automated scaffolding workflows.

Categories

get_all_categories returns the four top-level navigation categories from the site, each with a name and slug. These map to the organizational structure used on reactbits.dev and can be used to filter or annotate components in your own tooling.

Common use cases
  • Build a component browser that queries list_all_components and surfaces JS vs TS and CSS vs Tailwind variant availability.
  • Auto-generate documentation pages by pulling extracted_props from get_component_props into a prop table renderer.
  • Script a project bootstrapper that calls get_component_install_command to generate the correct npx shadcn command for each selected component.
  • Run search_components inside a CLI tool or IDE plugin to let developers find relevant components by keyword.
  • Audit npm dependency usage across the entire registry by iterating get_component for each entry and aggregating the dependencies fields.
  • Seed a design-system catalog by extracting source code via get_component_source_code and storing versioned snapshots.
  • Map get_all_categories slugs to component metadata for a filtered component gallery UI.
Pricing & limitsSee full pricing →
TierPriceCredits/monthRate limit
Free$0/mo1005 req/min
Hobby$30/mo1,00020 req/min
Developer$100/mo5,000250 req/min

One credit = one API call regardless of which marketplace API you call. Exceeding the rate limit returns a 429 response. Authenticate with the X-API-Key header.

Frequently asked questions
Does React Bits have an official developer API?+
React Bits does not publish an official developer API. The site uses a shadcn-compatible registry format at reactbits.dev, which is what this Parse API surfaces.
What does `get_component` return beyond source code?+
get_component returns a files array (each file has path and content), a dependencies array of npm package strings, and an extracted_props array. Each prop entry includes the property name, its TypeScript type, an optional boolean, and a description string parsed from the component's interface definition.
Can I retrieve components filtered by category?+
get_all_categories lists the four navigation categories with name and slug, but the other endpoints do not accept a category filter parameter — they operate by component name or search query. You can fork this API on Parse and revise it to add category-filtered listing support.
Does the API cover component preview or demo data?+
Not currently. The API covers source code files, prop definitions, install commands, and component metadata. Visual previews, live demo configurations, and usage examples shown on the reactbits.dev site are not part of the response schema. You can fork the API on Parse and revise it to add an endpoint targeting that content.
What is the difference between using a display name and a registry name in the `name` parameter?+
Endpoints like get_component accept either format. A display name like 'Shuffle' will resolve to the default variant. A full registry name like 'Shuffle-TS-CSS' pinpoints a specific TypeScript plus CSS variant. When a component has multiple variants, using the full registry name ensures you get the exact file set and props for that flavor.
Page content last updated . Spec covers 7 endpoints from reactbits.dev.
Related APIs in Developer ToolsSee all →
arxiv.org API
Search and discover academic research papers on arXiv using keywords, authors, titles, categories, and dates, then access detailed metadata for any paper. Browse the complete arXiv category taxonomy to explore research across different scientific disciplines.
alienvault.com API
Search and analyze global threat intelligence data including indicators of compromise, threat pulses, and adversary profiles from the Open Threat Exchange community. Monitor recent security alerts and access detailed information about threats and adversaries to strengthen your cybersecurity defenses.
allaboutcircuits.com API
Access educational electronics content from All About Circuits, including technical articles, circuit diagrams, textbook volumes, and forum discussions organized by category. Search and browse the latest resources, view detailed articles, explore engineering tools, and find answers across their community forums.
bazaardb.gg API
Search and retrieve comprehensive data about The Bazaar game cards, including items, skills, merchants, trainers, monsters, and events with full details like tiers, attributes, enchantments, and tooltips. Quickly find the specific card information you need to optimize your gameplay strategy and deck building.
icons8.com API
Search for millions of icons across different visual styles like colorful, pattern-based, and minimalist designs to find the perfect icon for your project. Discover and retrieve icons in your preferred style to enhance your designs and applications.
wynncraft.com API
Access detailed Wynncraft game information to look up item metadata and search across the complete item database, retrieve player statistics and character inventories, and browse guild information and global search results. Use this data to compare gear, track player progress, analyze guild rosters, or build tools for the Wynncraft community.
cursor.directory API
Search and discover AI cursor rules, MCP servers, and job listings organized by category to enhance your development workflow. Browse detailed information about each rule and server to find the tools and configurations that best fit your needs.
smstome.com API
Browse temporary phone numbers from countries around the world and read incoming SMS messages in real time. List available numbers by country, retrieve messages sorted newest to oldest, and search message history by sender or content.
React Bits API – Components, Code & Props · Parse