get_component_html
Extract HTML from Storybook component stories to analyze structure and styling for design system adoption and refactoring.
Instructions
Extract HTML from a specific component story in Storybook. Requires a story ID (format: "component-name--story-name", e.g., "button--primary", "forms-input--default"). Use list_components or get_component_variants first to find valid story IDs.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| componentId | Yes | The story ID in format "component-name--story-name" (e.g., "button--primary", "forms-input--default"). Get this from list_components or get_component_variants. | |
| includeStyles | No | Whether to include extracted CSS styles in the response (useful for understanding component styling) |