render_matrix
Render a component across multiple viewports and themes to produce a grid of screenshots for responsive and theme verification.
Instructions
Render a component across multiple viewports AND themes in one call. Returns a grid of screenshots (viewports x themes) for comprehensive responsive + theme verification.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | Component code to render | |
| framework | No | Framework: html, react, vue, or svelte | react |
| viewports | No | Viewports to render: preset names ('mobile','tablet','desktop') or custom {width, height} | |
| themes | No | Themes to render for each viewport | |
| css | No | Custom CSS to inject (design tokens, variables, etc) | |
| tailwindVersion | No | Tailwind CSS version (3 or 4) | 3 |