Input Field
A labeled single-line text field with optional hint and error messaging.
Show codeHide code
Installation
import { InputField } from "@makeplane/propel/components/input-field";Usage
import { InputField } from "@makeplane/propel/components/input-field";
export default function BasicDemo() {
return (
<InputField
size="lg"
orientation="vertical"
label="Email"
placeholder="you@example.com"
description="We'll use this to send you receipts."
hint="We'll never share your email."
/>
);
}Examples
Sizes
size sets the frame height, the value’s text size, and any inline glyph together —
md 28 / lg 32 / xl 36 / 2xl 40 px. The label steps with it (body-xs through lg, body-sm above), and the
description and hint sit one tier below the label (body-2xs, then body-xs). The text Input
family starts at md (28px); there is no 20 or 24px Input frame.
NumberField goes down to sm. See Sizing for
which family exposes which rungs.
Show codeHide code
Horizontal
The horizontal orientation places the label beside the control instead of above it.
Show codeHide code
With icons
Show codeHide code
Invalid
Show codeHide code
Disabled
disabled mutes the whole field — label, control, and hint — and blocks input.
Show codeHide code
API Reference
InputField
Single-line text field built on Base UI Field. Supports inline start/end slots and a
horizontal orientation where the label sits beside the control.