generate_form
Generate production-ready forms with built-in validation, accessibility, error handling, and multi-step support. Choose from preset types like login or signup, or define custom fields.
Instructions
Generate production-ready forms with validation schemas, accessible markup, error handling, and multi-step support. Includes preset form types (login, signup, contact, checkout) or fully custom field definitions.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| form_type | Yes | Type of form to generate | |
| framework | Yes | Target framework | |
| fields | No | Custom field definitions. Required for "custom" type, optional override for presets. | |
| validation_library | No | Validation library for schema generation | zod |
| component_library | No | Component library styling | none |
| multi_step | No | Split into multi-step form with progress | |
| dark_mode | No | Include dark mode classes | |
| brand_identity | No | JSON from branding-mcp generate_brand_identity. Overrides design context with brand tokens. | |
| mood | No | Design mood | |
| industry | No | Target industry | |
| visual_style | No | Visual style |