felipemenezes098

React Hook Form Select

Forms 1

About

A select dropdown bound to React Hook Form with a Zod resolver that validates on submit and shows an inline field error until a department is chosen.

Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds React Hook Form Select to your project and fits it to your theme.

Code

How React Hook Form Select is used: the demo's code. The component's own source comes with a free account.

Usage.tsx

import { Select12 } from "@/components/ui/select-12";

export default function Default() {
  return (
    <div className="flex min-h-[420px] w-full items-center justify-center p-6">
      <Select12 />
    </div>
  );
}

Dependencies

More by felipemenezes098

View all
  • Centered Hero with Image Fan

    Centered Hero with Image Fan

    1.1K
  • Editorial Collage Hero

    Editorial Collage Hero

    517
  • Split Hero With Image Cards

    Split Hero With Image Cards

    471
  • Editorial Image Hero

    Editorial Image Hero

    435
  • Scroll 01

    Scroll 01

    418
  • Real Estate Search Hero

    Real Estate Search Hero

    229
  • Editorial Hero

    Editorial Hero

    210
  • Hero with Dashboard Mockup

    Hero with Dashboard Mockup

    147

More in Forms

View all
  • Premium Auth

    Premium Auth

    593
  • Contact Form

    Contact Form

    28
  • Form

    Form

    4
  • Login 1

    Login 1

    70
  • Book A Demo 1

    Book A Demo 1

    94
  • Contact Card

    Contact Card

    1.1K
  • HeroUI Field Error

    HeroUI Field Error

    13
  • Form [react-aria-components]

    Form [react-aria-components]

    19