For AI agents: the complete documentation index is available at /next/llms.txt, the full documentation bundle is available at /next/llms-full.txt, and this page is available as Markdown at /next/api/genui/openui/chat/agent/variables/Input.md.
Lynx
  • English
  • Variable: Input

    const Input: DefinedComponent<ZodObject<{ name: ZodString; placeholder: ZodOptional<ZodString>; rules: ZodOptional<ZodObject<{ email: ZodOptional<ZodBoolean>; max: ZodOptional<ZodNumber>; maxLength: ZodOptional<ZodNumber>; min: ZodOptional<ZodNumber>; minLength: ZodOptional<ZodNumber>; numeric: ZodOptional<ZodBoolean>; pattern: ZodOptional<ZodString>; required: ZodOptional<ZodBoolean>; url: ZodOptional<ZodBoolean>; }, $strip>>; type: ZodOptional<ZodEnum<{ email: "email"; number: "number"; password: "password"; text: "text"; url: "url"; }>>; value: ZodType<StateField<string | undefined>, unknown, $ZodTypeInternals<StateField<string | undefined>, unknown>>; }, $strip>, () => null>

    Server-safe Input component contract.

    Except as otherwise noted, this work is licensed under a Creative Commons Attribution 4.0 International License, and code samples are licensed under the Apache License 2.0.