Get Component
get_componentRetrieve HTML markup and all variants for any Bootstrap Italia component, including web component it-* props from Dev Kit Italia.
Instructions
Returns HTML markup for all variants of a Bootstrap Italia component and web component it-* props from Dev Kit Italia. Start here for markup and variants. Dev Kit props (it-*) apply to web components only, not BSI HTML.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Component name or slug (e.g. "accordion", "Accordion") | |
| maxVariants | No | Maximum number of variants with full markup (default 3). Use get_component_variant to fetch others by name. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| meta | Yes | ||
| name | Yes | ||
| slug | Yes | ||
| devKit | Yes | ||
| variants | Yes | ||
| variantsCount | Yes | ||
| variantsAvailable | Yes |