easyui.

Discover / Forms

Input

Collect a single line of text.

Usage notes

Pair Input with Field to associate its label, description, and validation message.

Examples use @easyui/react and its stylesheet. Read the setup guide.

Example source

import { Field, Input } from "@easyui/react";

export default function Example() {
  return (
    <Field label="Email address" description="We'll never share your email.">
      <Input type="email" placeholder="you@example.com" />
    </Field>
  );
}

Explore more components