Bit is a build system for composable software. It makes the composition of applications from independently versioned components seamless and fast.
The core innovation of Bit is the Bit Component, a container for composable software components. You can think about it as a next-generation package. It is extensible, portable and seamless to maintain.
People often use Bit to run a Monorepo, a Polyrepo or Distributed architecture.
Bit is designed for incremental adoption, and can be added to most codebases in few minutes.
Run the following to install Bit:
Initialize Bit on a new folder or in an existing project by running the following command:
You can now start creating components using our default official templates and use them in your projects!
After initiatizing your workspace, you can start creating components using our official templates. Run the following command to view the default templates:
The following command uses the React UI component template to create a new reusable React component:
You can find templates for creating apps, platforms, UI components and more on our create components page. If you looking to start from an existing project, check out our variaty of guides for your specific tool stack.