A single-line text input with polished focus and invalid states.
Input defines how EnterUI handles a single-line text input with polished focus and invalid states, including default structure, accessible states, and token-driven styling.
Default, disabled, and invalid states share the same control rhythm.
<div className="docs-preview-stack">
<Input aria-label="Package name" defaultValue="@froggdesign/enter-ui-react" />
<Input aria-label="Disabled package" disabled defaultValue="@froggdesign/enterui-locked" />
<Input aria-label="Invalid package" invalid defaultValue="invalid scope" />
</div>import { Input } from "@froggdesign/enter-ui-react";Use Field when the control needs label, help, or error text.
Used in package metadata.
Input renders a native input. Provide a visible Label or an aria-label. The invalid prop maps to aria-invalid.
invalid toggles invalid styling and aria state.className for local control styling.Every exported component accepts className when it renders an element. EnterUI styles use .eui-* classes and --eui-* variables mapped from FroggDesign theme tokens.