get_component_variants
Retrieve all story variants and states for a specific component, including IDs, names, and parameters. Helps analyze and use design system components effectively. Requires exact component name as input.
Instructions
Get all story variants/states for a specific component. Returns all stories (variants) for a component with their IDs, names, and parameters. Component name should match exactly as shown in list_components (case-sensitive).
Input Schema
Name | Required | Description | Default |
---|---|---|---|
componentName | Yes | Exact name of the component as returned by list_components (e.g., "Button", "Input", "Card"). Case-sensitive matching. |