For the best experience, please view this on a larger device.
For the best experience, please view this on a larger device.
Input
Input
The input component is an enhanced form input wrapper from Framer forms. It adds extra functionality such as labels, help text, and icon support.
Variants
Properties Overview
label (String): The text label displayed above the input field.
placeholder (String): The placeholder text for the input field.
helpText (String): Additional help text displayed below the input field to guide the user.
icon (ComponentInstance): An icon to be displayed inside the input field, which can provide additional context or functionality.
inputType (Enum): The type of the input field, such as
text,email, etc.value (String): The current value of the input field.
required (Boolean): Makes the input value required.
Notes
Label: Ensure the
labelproperty provides a clear indication of the input field's purpose.Placeholder: Use the
placeholderproperty to provide hints about the expected input format.Help Text: The
helpTextcan guide users on how to fill out the input correctly.Icons: The
iconproperty can be used to incorporate icons that improve the user experience, such as indicating required fields, email formats, or password visibility toggles.Input Types: Utilize the
inputTypeproperty to ensure proper input behavior (e.g.,passwordfor masked input,emailfor email validation).