frontend-patterns

Provide reusable React UI patterns for Select, Modal CRUD, Drag & Drop, and Zod form validation.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/vperreard/Mathildanesth --skill frontend-patterns-vperreard
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: frontend-patterns
Source: https://github.com/vperreard/Mathildanesth/tree/main/.claude/skills/frontend-patterns
Command: npx skills add https://github.com/vperreard/Mathildanesth --skill frontend-patterns-vperreard

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

The skill helps frontend teams adopt consistent, well-tested UI patterns to avoid common UI bugs and boilerplate.

Core Features & Use Cases

  • Radix UI Select pattern to fix ID vs Name display issues and provide robust value rendering.
  • Modal CRUD templates for creating/editing items with proper state management and form validation.
  • Drag & Drop patterns using @dnd-kit for sortable lists, with drag overlays and accessible controls.
  • Form validation patterns using Zod + react-hook-form for predictable validation and error messaging.

Quick Start

Open a UI component page and start refactoring shared UI controls by applying the provided patterns to select, modal, drag-and-drop, and form components.

Frequently Asked Questions about frontend-patterns

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

FAQPage Schema
How do I implement form validation in React using Zod and react-hook-form?

Implement form validation in React by combining Zod schemas with react-hook-form to ensure predictable validation and consistent error messaging. This pattern provides tested templates and concrete code examples to reduce boilerplate and UI bugs.

What's the best way to build a sortable drag and drop list in React?

The best way to build a sortable drag and drop list in React is using @dnd-kit patterns. This approach includes drag overlays and accessible controls, providing tested templates and inline usage examples for correct integration into Next.js projects.

How do I fix ID vs Name display issues in a Radix UI Select component?

Fix ID vs Name display issues in a Radix UI Select component by applying a specific UI pattern that ensures robust value rendering. This pattern provides concrete code examples and file references to correctly integrate the select control.

Can I use these UI patterns for modal CRUD operations in a Next.js project?

Yes, you can use these UI patterns for modal CRUD operations in a Next.js project. The skill provides modal templates for creating and editing items with proper state management and integrated form validation.

Do I need shadcn/ui to use these frontend patterns?

You need shadcn/ui to apply these frontend patterns as intended. The patterns are specifically designed for React components using shadcn/ui, ensuring correct integration and consistent UI controls across your Next.js project.