dashboard-form-ui

Create and edit Mercur dashboard forms with React and react-hook-form validation.

2|1|Updated May 20, 2026
One-click install
npx skills add https://github.com/amo-tech-ai/mdeapp --skill dashboard-form-ui-amo-tech-ai
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: dashboard-form-ui
Source: https://github.com/amo-tech-ai/mdeapp/tree/main/commerce/mercur/.claude/skills/dashboard-form-ui
Command: npx skills add https://github.com/amo-tech-ai/mdeapp --skill dashboard-form-ui-amo-tech-ai

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires @mercurjs/dashboard-shared, @medusajs/ui, react-hook-form, zod, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill streamlines the process of creating and editing forms in Mercur admin and vendor dashboards, reducing manual effort and ensuring consistency in form structure and validation.

Core Features & Use Cases

  • Consistent Form Structure: Utilizes stable form patterns and UI conventions for a consistent admin and vendor dashboard experience.
  • Validation & Submission: Implements form validation and submission guards, improving data integrity and user experience.
  • Use Case: When adding a new product to the admin dashboard, this Skill guides you through creating a form with appropriate validation and submission controls.

Quick Start

Utilize the dashboard-form-ui skill to design a new product form in the admin dashboard.

Frequently Asked Questions about dashboard-form-ui

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I build a React admin dashboard form with validation and submission guards?

Build a React admin dashboard form using react-hook-form for validation management and zod for schema validation, applying standardized UI conventions to ensure data integrity and consistent submission controls.

What is the best way to standardize form design in Mercur admin and vendor dashboards?

Standardize form design in Mercur dashboards by utilizing stable form patterns and UI conventions from @mercurjs/dashboard-shared and @medusajs/ui, reducing manual effort while ensuring structural consistency across admin workflows.

Do I need @medusajs/ui and react-hook-form to create dashboard forms?

Yes, creating dashboard forms requires @medusajs/ui and react-hook-form as dependencies, alongside zod for validation and @mercurjs/dashboard-shared, to manage form structure and validate user data effectively.

Can I use this approach to add a new product form to an admin dashboard?

Yes, you can use this approach to design a new product form in the admin dashboard, guiding you through creating appropriate validation rules and submission controls for accurate product data entry.

How does zod form validation work with Medusa UI components?

Zod validates form schemas while @medusajs/ui renders the form components, integrating with react-hook-form to enforce validation rules and submission guards before user data is processed in the dashboard.

Why does my dashboard form submission fail validation checks?

Dashboard form submission fails validation when user data does not match the zod schema rules defined in react-hook-form, triggering built-in submission guards that prevent invalid data from being processed.