Input
Default type text
Phone
Password
-
-
{% include "@Components/forms/input-field/input-field.twig" with {props: { label: "Password type", type: "password", }} %} -
<div class="f-wrap"> <input class="f-base base-text" type="password"> <label class="f-label"> <span class="f-label__title">Password type</span> </label> </div>
Url
Search
Required
Without label
Placeholder
-
-
{% include "@Components/forms/input-field/input-field.twig" with {props: { label: "With Placeholder", placeholder: "Enter your first name", }} %} -
<div class="f-wrap"> <input class="f-base base-text" type="text" placeholder="Enter your first name"> <label class="f-label"> <span class="f-label__title">With Placeholder</span> </label> </div>
Value
-
-
{% include "@Components/forms/input-field/input-field.twig" with {props: { label: "With value", value: "prefilled value", }} %} -
<div class="f-wrap"> <input class="f-base base-text" type="text" value="prefilled value"> <label class="f-label"> <span class="f-label__title">With value</span> </label> </div>