py_ets

Field

Forms

About

A set of accessible form field building blocks (label, input, description, error message, and bordered input group) used to compose text inputs and other form controls with React Aria Components.

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

Code

How Field is used: the demo's code. The component's own source comes with a free account.

Usage.tsx

import { Label, Input, Description, FieldGroup } from "@/components/ui/field";

export default function FieldDemo() {
  return (
    <div className="flex items-center justify-center w-full p-10">
      <div className="flex flex-col gap-1 font-sans w-72">
        <Label>Email</Label>
        <FieldGroup>
          <Input placeholder="Enter your email" />
        </FieldGroup>
        <Description>
          We'll never share your email with anyone else.
        </Description>
      </div>
    </div>
  );
}

Dependencies

More by py_ets

View all
  • Alert Dialog

    Alert Dialog

    16
  • Progress Bar

    Progress Bar

    12
  • Command Palette

    Command Palette

    10
  • React Aria CheckboxGroup

    React Aria CheckboxGroup

    10
  • Segmented Control

    Segmented Control

    8
  • React Aria DatePicker

    React Aria DatePicker

    8
  • React Aria GridList

    React Aria GridList

    7
  • React Aria Switch

    React Aria Switch

    7

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