Inspecting Components
This page lists different ways to inspect the workspace and its components using Bit's CLI and the Workspace/Scope UI.
Get a component's essential info#
Bit Show#
The show command displays a component's essential information. For example, its dependencies, its dev dependencies, the environment being used by it, etc.
Since Bit components are not configured directly but through the various extensions that are used by them (either the extensions' default values or manual configurations in workspace configurations file), it is much easier to review their configurations by using the show command than it is by doing so manually.
bit show <component-id>For example:
bit show my-org.my-scope/ui-primitives/buttonExample output:
โโโโโโโโโโโโโโโโฌโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โ id โ my-org.my-scope/ui-primitives/button@0.0.1 โ โโโโโโโโโโโโโโโโผโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโค โ scope โ my-org.my-scope โ โโโโโโโโโโโโโโโโผโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโค โ name โ ui-primitives/button โ โโโโโโโโโโโโโโโโผโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโค โ env โ teambit.react/react โ โโโโโโโโโโโโโโโโผโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโค โ package name โ @my-org/ui-primitives.button โ โโโโโโโโโโโโโโโโผโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโค โ main file โ index.ts โ โโโโโโโโโโโโโโโโผโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโค โ files โ __snapshots__/button.spec.jsx.snap โ โ โ button.composition.tsx โ โ โ button.docs.tsx โ โ โ button.module.scss โ โ โ button.spec.jsx โ โ โ button.tsx โ โ โ index.ts โ โโโโโโโโโโโโโโโโผโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโค โ dev files โ button.docs.tsx (teambit.docs/docs) โ โ โ __snapshots__/button.spec.jsx.snap (teambit.defender/tester) โ โ โ button.spec.jsx (teambit.defender/tester) โ โ โ button.composition.tsx (teambit.compositions/compositions) โ โโโโโโโโโโโโโโโโผโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโค โ extensions โ teambit.react/react โ โ โ teambit.pkg/pkg โ โ โ teambit.component/dev-files โ โ โ teambit.compositions/compositions โ โ โ teambit.docs/docs โ โ โ teambit.dependencies/dependency-resolver โ โ โ teambit.envs/envs โ โ โ teambit.defender/tester โ โ โ teambit.pipelines/builder โ โโโโโโโโโโโโโโโโผโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโค โ dependencies โ classnames@^2.2.6- (package) โ โโโโโโโโโโโโโโโโผโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโค โ dev โ @teambit/documenter.ui.linked-heading@0.2.3--- (component) โ โ dependencies โ @teambit/documenter.ui.list@0.2.3------------- (component) โ โ โ @teambit/documenter.ui.section@0.2.3---------- (component) โ โ โ @teambit/documenter.ui.separator@0.2.3-------- (component) โ โ โ @types/react@16.9.43-------------------------- (package) โ โ โ react-test-renderer@17.0.1-------------------- (package) โ โ โ @types/classnames@^2.2.10--------------------- (package) โ โ โ @types/react-router-dom@^5.1.5---------------- (package) โ โ โ @types/jest@~26.0.9--------------------------- (package) โ โ โ core-js@^3.6.5-------------------------------- (package) โ โ โ @types/node@^12.12.27------------------------- (package) โ โโโโโโโโโโโโโโโโผโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโค โ peer โ react@^16.13.1----- (package) โ โ dependencies โ react-dom@^16.13.1- (package) โ โโโโโโโโโโโโโโโโดโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโtip
Use bit show --help or bit show -h to get a list of available options for this command.
Workspace/ Scope UI#
The UI analog is placed in two separate tabs, 'Dependencies' and 'Configurations'.
Dependencies#
The 'Dependencies' tab shows the component's dependencies, which only includes components. Other packages will not be displayed.
For example:

Configurations#
The 'Configuration' tab
shows the components configurations, grouped by each extension used by it. That also includes all its dependencies (under the @teambit.pkg/pkg packager extension).
For example:

Log#
The log command shows the version history of a component:
bit log buttonExample output:
tag 0.0.2author: John Doe <john_doe@my-org-mail.com>date: 10/24/2020, 5:49:15 PM
tag 0.0.1author: Jane Doe <jane_doe@my-org-mail.com>date: 09/24/2020, 4:48:51 PMtip
Use bit log --help or bit log -h to get a list of available options for this command.
Workspace/Scope UI#
The 'History' tab
shows a component's version history. The different versions can be explored further by clicking on their links.
For example:

View Components status#
Displays the status for all tracked and staged (tagged) components. This will not include imported components that have not been modified or components' exported tagged versions.
Command:
bit statusExample output:
new components(use "bit tag --all [version]" to lock a version with all your changes)
> button ... ok
staged components(use "bit export <remote_scope> to push these components to a remote scope")
> app-bar. versions: 0.0.1 ... oktip
Use bit status --help or bit status -h to get a list of available options for this command.
- Learn more here
List Components#
List components in the local scope#
Lists all components in the local scope. That includes staged components as well as imported components.
bit listList components in a remote scope#
To list all components in a remote scope:
bit list owner-name.scope-nameList versions of components in the local scope#
Displays local and remote versions of components in the local scope.
bit list --outdatedtip
Use bit list --help or bit list -h to get a list of available options for this command.