generate_8state_component
Generate a standalone HTML preview page showing all eight interactive states (default, hover, focus, active, disabled, loading, error, success) for components like buttons, inputs, toggles, chips, or selects.
Instructions
Generate a complete 8-state component demo page (default, hover, focus, active, disabled, loading, error, success) for a given component kind. Returns a standalone HTML preview file with all states rendered.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"kind": "<kind>"
},
"name": "generate_8state_component"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | Yes | Component kind |