Shows the API schema of the specified component/s.
$bit schema <pattern>
Copiedcopy
Additional Notes
you can use a `<pattern>` for multiple component ids, such as `bit schema "org.scope/utils/**"`. use comma to separate patterns and '!' to exclude. e.g. 'ui/**, !ui/button' use '$' prefix to filter by states/attributes, e.g. '$deprecated', '$modified' or '$env:teambit.react/react'. always wrap the pattern with single quotes to avoid collision with shell commands. use `bit pattern --help` to understand patterns better and `bit pattern <pattern>` to validate the pattern.

Options

OptionOption AliasDescriptionValue Type
--json-jreturn the component schema in json formatboolean