Find Components By Token
tokens_find_componentsFind which Bootstrap Italia components are affected by a design variable, including indirect impacts through the resolution chain. Useful for theming: see what changes if you override a token.
Instructions
Returns the Bootstrap Italia components impacted by a given design variable, including indirect impact via the resolution chain. Accepts --bsi-* (direct usage) or --it-/$it- (impact traced through the chain). Useful for theming: identifies what changes if you override a variable. Note: component reflects BSI's own internal grouping keys in custom_properties.json (e.g. "navbar", "tab"), not always the same as the canonical component name from dsi_list_components — some BSI groupings aren't tracked as standalone components.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| variable | Yes | Token name in any form: --bsi-*, --it-*, or $it-* |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| meta | Yes | ||
| query | Yes | ||
| total | Yes | ||
| results | Yes |