jshguo

Field

Forms 1

About

A comprehensive field system with support for labels, descriptions, errors, and complex form layouts.

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 { Field, FieldContent, FieldDescription, FieldLabel } from "@/components/ui/interfaces-field"
import { Input } from "@/components/ui/input"

export default function DemoSimpleField() {
  return (
    <div className="flex w-full min-h-screen items-center justify-center bg-background p-8 overflow-hidden">
      <div className="w-full max-w-md">
        <Field>
          <FieldLabel htmlFor="username">Username</FieldLabel>
          <FieldContent>
            <Input id="username" placeholder="Enter username" />
            <FieldDescription>This is your public display name.</FieldDescription>
          </FieldContent>
        </Field>
      </div>
    </div>
  )
}

Dependencies

More by jshguo

View all
  • Progress

    Progress

    427
  • Select

    Select

    372
  • Textarea

    Textarea

    259
  • Input OTP

    Input OTP

    161
  • Interfaces Carousel

    Interfaces Carousel

    160
  • Switch

    Switch

    138
  • Hover Card

    Hover Card

    110
  • Card

    Card

    85

More in Forms

View all
  • Premium Auth

    Premium Auth

    524
  • Contact Card

    Contact Card

    1K
  • Book A Demo 1

    Book A Demo 1

    73
  • Form

    Form

    16
  • Login 1

    Login 1

    53
  • Book A Demo 3

    Book A Demo 3

    89
  • Hand-Drawn Checkbox

    Hand-Drawn Checkbox

    48
  • Login Card

    Login Card

    6