Input
A single-line text field framed by a bordered group with room for inline icon slots.
Show codeHide code
Installation
import { Input, InputGroup } from "@makeplane/propel/components/input";Usage
import { Input, InputGroup } from "@makeplane/propel/components/input";
export default function BasicDemo() {
return (
<InputGroup size="lg">
<Input size="lg" aria-label="Name" placeholder="Ada Lovelace" />
</InputGroup>
);
}Examples
Sizes
The size axis scales the control’s height and text size; keep it in sync on the InputGroup and its Input.
Show codeHide code
With icons
Show codeHide code
In a field
Enter a valid email address.
Show codeHide code
Disabled
disabled blocks interaction and mutes the control.
Show codeHide code
API Reference
Input
Single-line text field that automatically works inside `Field`. Base UI's `Input` control behavior grafted onto the styled `elements` `Input` element (rule 1a) — behavior part outer, styled part as the render target.
InputGroup
The bordered group that frames the input control and its inline slots.