suggest_usage
Generate HTML usage snippets for web components, displaying required and optional attributes with default values, plus variant options from union types.
Instructions
Generates an HTML usage snippet for a component, showing key attributes with their default values. Lists required vs optional attributes and variant options from union types.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| libraryId | No | Optional library ID to target a specific loaded library instead of the default. | |
| tagName | Yes | The custom element tag name (e.g. "my-button"). | |
| framework | No | Target framework for usage snippet. Auto-detected from package.json if omitted. Use "html" for plain HTML output. |