Get Dev Kit Component Markup
devkit_get_component_markupFetch the HTML markup for a Dev Kit Italia web component variant, defaulting to the first variant when omitted. Uses Storybook snapshot data.
Instructions
Returns the HTML markup for one specific variant of a Dev Kit Italia web component. Markup extracted from Storybook via CI snapshot. If variant is omitted returns the default (first) variant.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| variant | No | Variant name. Omit for the default (first) variant. | |
| component | Yes | Component name or slug (e.g. "accordion", "icon") |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| meta | Yes | ||
| result | Yes | ||
| variant | Yes | ||
| component | Yes |