Input Field
A labeled single-line text field with optional hint and error messaging.
We'll use this to send you receipts.
We'll never share your email.
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 —
lg 32 / xl 36 / 2xl 40 px. The text Input family starts at lg; there is no 20, 24, or 28px Input
frame. Other bordered controls go lower — Autocomplete starts at md
and NumberField at 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.
Shown across your projects.
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.