Input type (Attribute: `type`)
Input case (Attribute: `textStyle`)
The InputField component is a fundamental form element that captures user input. It supports various input types, including text, number, password, and more, making it versatile for different data entry needs. InputFields are essential in virtually all forms, from login pages to checkout processes. They ensure that data is collected in a structured and consistent manner, providing users with clear prompts for the information required.
import InputField from "@lumina-design/core/InputField"; <InputField type="text" value={textValue} onChange={(val) => setTextValue(val)} className="text-field" label="Full Name" placeholder="John Doe" onBlur={(event) => { console.log("ON BLUR EVENT", event?.target?.value); }} />