Skip to main content
Glama

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

TableJSON Schema
NameRequiredDescriptionDefault
componentNameYesExact name of the component as returned by list_components (e.g., "Button", "Input", "Card"). Case-sensitive matching.

Other Tools

Related Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/freema/mcp-design-system-extractor'

If you have feedback or need assistance with the MCP directory API, please join our Discord server