Skip to content

Input

---
import { Input } from "wf-components";
---
<Input label="Input Label" placeholder="Placeholder text" />

Props

label

Optional The label for the input field.

errorMessage

Optional The error message to display when the input is invalid or there’s an error.

---
import { Input } from "wf-components";
---
<Input label="Input Label" errorMessage="This is an error message" placeholder="Placeholder text" />