Repolode
teambit

teambit/bit

A build system and workspace tool for organizing JavaScript/TypeScript source into reusable components, from development through CI and deployment.

Stars
18,505
Forks
963
Open issues
84
Last commit
18 hours ago

What is it?

Bit is a build system that organizes source code into composable components and connects them from local development through CI and release. Components are versioned, built, and exported so they can be installed with standard package managers in other projects.

Bit targets JavaScript and TypeScript projects and provides official development environments for Node.js, React, Angular, Vue, React Native, and Next.js. It works in monorepos, polyrepos, or without a repository structure at all, and it can be used by AI agents through MCP to create and reuse existing components.

The workflow centers on creating components with templates, composing them into application shells, tagging semantic versions, and exporting them to a scope hosted on Bit Cloud or a self-hosted scope server.

Key features

  • 01Creates reusable UI components and modules that can be shared across projects.
  • 02Provides templates for building components, usable by both developers and AI agents.
  • 03Composes components into application shells that can be run and deployed.
  • 04Versions components with semantic versioning and exports them to a scope.
  • 05Supports React, Vue, Angular, Node.js, React Native, and Next.js projects.

Use cases

  • Sharing UI components across several frontend applications without copying code.
  • Splitting a large codebase into independently versioned packages.
  • Letting AI coding agents reuse existing components instead of duplicating them.

Quick start

  1. 1

    Install Bit with the Bit installer

    npx @teambit/bvm install
  2. 2

    Initialize Bit in your project with a scope you created on the Bit platform

    bit init --default-scope my-org.my-project
  3. 3

    Create a React application shell

    bit create react-app corporate-website
  4. 4

    Run the application shell, then open http://localhost:3000

    bit run corporate-website

Things to know

  • Initializing Bit requires creating a scope on the Bit platform, so a Bit Cloud account is needed for the default workflow.
  • By default, components are built by the hosted Ripple CI service unless you use the --build flag locally.

In collections

Topics

#monorepo#component-driven#typescript#react#micro-frontend#build-tool#ci-cd#ai#collaboration#composable

FAQ

What is bit?
A build system and workspace tool for organizing JavaScript/TypeScript source into reusable components, from development through CI and deployment. Bit is a build system that organizes source code into composable components and connects them from local development through CI and release. Components are versioned, built, and exported so they can be installed with standard package managers in other projects.
Is bit free to use? What license does it have?
bit is open source under the Other license. Check the license terms before using it in commercial products.
Is bit still maintained?
Actively maintained. The last commit to bit was on Nov 6, 2026.
What can I use bit for?
Sharing UI components across several frontend applications without copying code. Splitting a large codebase into independently versioned packages. Letting AI coding agents reuse existing components instead of duplicating them.
How do I install bit?
Install Bit with the Bit installer: npx @teambit/bvm install Initialize Bit in your project with a scope you created on the Bit platform: bit init --default-scope my-org.my-project Create a React application shell: bit create react-app corporate-website Run the application shell, then open http://localhost:3000: bit run corporate-website
Where can I get bit?
The source code and installation instructions are on GitHub: https://github.com/teambit/bit

Summary generated by AI from the project's README. GitHub stats refresh daily.

Related projects