Sean Hello

ReUI Field

Component

About

ReUI Field with the first 10 official ReUI examples, preserved from the MIT-licensed source registry.

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

Code

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

Usage.tsx

import { Button } from "@/components/ui/reui-field-utils/button"
import {
  Field,
  FieldDescription,
  FieldGroup,
  FieldLabel,
  FieldSeparator,
} from "@/components/ui/reui-field"
import { Input } from "@/components/ui/reui-field-utils/input"
import {
  Select,
  SelectContent,
  SelectItem,
  SelectTrigger,
  SelectValue,
} from "@/components/ui/reui-field-utils/select"

export default function Pattern() {
  return (
    <div className="mx-auto w-full max-w-lg">
      <FieldGroup>
        <Field orientation="responsive">
          <FieldLabel htmlFor="resp-first">First Name</FieldLabel>
          <Input id="resp-first" placeholder="First name" />
        </Field>
        <Field orientation="responsive">
          <FieldLabel htmlFor="resp-last">Last Name</FieldLabel>
          <Input id="resp-last" placeholder="Last name" />
        </Field>
        <Field orientation="responsive">
          <FieldLabel htmlFor="resp-email">Email</FieldLabel>
          <Input id="resp-email" type="email" placeholder="you@example.com" />
        </Field>
        <Field orientation="responsive">
          <FieldLabel htmlFor="resp-role">Role</FieldLabel>
          <Select defaultValue="member">
            <SelectTrigger id="resp-role">
              <SelectValue placeholder="Select role" />
            </SelectTrigger>
            <SelectContent>
              <SelectItem value="admin">Admin</SelectItem>
              <SelectItem value="member">Member</SelectItem>
              <SelectItem value="viewer">Viewer</SelectItem>
            </SelectContent>
          </Select>
        </Field>
        <FieldSeparator />
        <FieldDescription>
          The invited member will receive an email with a link to join.
        </FieldDescription>
        <div className="flex justify-end gap-2">
          <Button variant="outline">Cancel</Button>
          <Button>Send Invite</Button>
        </div>
      </FieldGroup>
    </div>
  )
}

Dependencies

More by Sean Hello

View all
  • 3D Testimonails

    3D Testimonails

    3.3K
  • Line Charts 9

    Line Charts 9

    637
  • Alert

    Alert

    492
  • Area Charts 1

    Area Charts 1

    385
  • Line Charts 6

    Line Charts 6

    384
  • Scroll Area

    Scroll Area

    376
  • Area Charts 2

    Area Charts 2

    317
  • Navigation Menu

    Navigation Menu

    306