Documentation • Tutorials • Quick start guide • Workflows • bit.dev components cloud • Video demo • Gitter • Twitter
Bit is an open-source cli tool for sharing components across projects and repositories.
Use Bit to turn a component inside an application into a standalone reusable package and share it with other projects.
You can set up your own server for components collaboration, or use the bit.dev cloud hosting for private and public components sharing.
Bit simplifies the process of collaborating on UI components. Team members can share, maintain, and synchronize small atomic components from different projects.
This allows teams to:
- Increase code reusability
- Increase design and development efficiency
- Retain UI and UX consistency
- Increase project's stability
- Extract a component for sharing directly from an existing project.
- Validate the component's independence by building and testing each component separately from the rest of the application.
- Change the source code of shared components from any project that utilizes it.
- Get published changes in components on top of local modifications.
- Contribute back changes made to components directly from your project.
- Let Bit auto-generate npm package for each component.
- Distribute small atomic components instead of a bloated package.
- Automate component versioning according to changes in its dependencies.
- Use with leading frameworks and tools: React, Vue, Angular, Mocha, Jest.
- Works alongside Git, NPM, and Yarn.
Bit is working with Javascript and Javascript frameworks:
Using npm:
npm install bit-bin --globalUsing yarn:
yarn global add bit-bin Bit cli requires node 8.12 and above. Check other installation methods.
Use bit.dev cloud hosting solution as a shared server and showcase for your components.
Contributions are always welcome, no matter how large or small. Before contributing, please read the code of conduct.
See Contributing.
Apache License, Version 2.0