Use Components

Components can be installed in every workspace or project using Bit or other standard packages managers. As needed you can import components for debugging, testing or for applying changes in the desired context.

Using Bit

Run the following to install the component as an external dependency:

$bit
Copiedcopy
See command synopsis

You can install packages from NPM in same way you use components:

$bit
Copiedcopy

Using package managers

Once components are released, you can install them using your preferred package manager:

$pnpm i @teambit/design.inputs.dropdown
Copiedcopy

Configure your npmrc to the Bit registry, or use Bit from your private registry.

Importing components

You can import components for debugging, testing or for applying changes in the desired context by running the following command:

$bit
Copiedcopy

After testing, debugging or changing the component you can either eject it using bit eject or bit export --eject in case you would looking to release a change.

Use from your private registry

You can setup an private registry as a reverse proxy for your Bit packages.

Learn more