Inputs

Inputs

Input Text - Voir le template
  • template
<div class="form-element text">
<input name="name" class="form-input" id="name" type="text" title="Nom" placeholder=" " pattern="\S+">
<label class="label" for="name">
<span>Nom</span>
</label>
</div>
Input Text Required - Voir le template
  • template
<div class="form-element text required">
<input name="name-required" class="form-input" id="name-required" type="text" title="Nom" placeholder=" " pattern="\S+">
<label class="label" for="name-required">
<span>Nom</span>
</label>
</div>
Input Text Blue - Voir le template
  • template
<div class="form-element text">
<input name="name-blue" class="form-input form-input--blue" id="name-blue" type="text" title="Nom" placeholder=" " pattern="\S+">
<label class="label" for="name-blue">
<span>Nom</span>
</label>
</div>
Input text error - Voir le template
  • template
<div class="form-element text error">
<input name="error" class="form-input" id="error" type="text" title="Nom" placeholder=" " pattern="\S+">
<label class="label" for="error">
<span>Nom</span>
</label>
</div>
Input text with icon - Voir le template
  • template
<div class="form-element text">
<input name="with-icon" class="form-input" id="with-icon" type="text" title="Nom" placeholder=" " pattern="\S+">
<label class="label" for="with-icon">
<span>Nom</span>
</label>
<span>
<?= icon('arrow-right', 'text-icon'); ?>
</span>
</div>
Input text without label - Voir le template
  • template
<div class="field text required">
<div class="control">
<input name="name" placeholder="Pas saisi" class="form-input placeholder-purple-lightest placeholder-opacity-75 py-2.5" id="name" type="text" title="Nom">
</div>
</div>
Input disabled - Voir le template
  • template
<div class="form-element text">
<input name="name" disabled class="form-input" id="name" type="text" title="Nom" placeholder=" " pattern="\S+">
<label class="label" for="name">
<span>Nom</span>
</label>
</div>
Input Password - Voir le template
  • template
<div class="form-element password" x-data="{ show: false }">
<input name="password" class="form-input" id="password" type="password" :type="show ? 'text' : 'password'" title="Nom" placeholder=" " pattern="\S+">
<label class="label" for="password">
<span>Mot de passe</span>
</label>
<span @click="show = !show">
<span :class="{'hidden' : show}" >
<?= icon('password-see', 'text-icon'); ?>
</span>
<span :class="{'hidden' : !show}" class="hidden">
<?= icon('password-unsee', 'text-icon'); ?>
</span>
</span>
</div>
Input Newsletter - Voir le template
  • template
<div class="form-element text">
<input name="newsletter" class="form-input form-input--dark" id="newsletter" type="text" title="Nom" placeholder=" " pattern="\S+">
<label class="label" for="newsletter">
<span>Votre adresse e-mail</span>
</label>
</div>
Input Licence Plate - Voir le template
  • template
<div class="form-element form-license-plate">
<label for="license-plate">
<span class="form-license-plate__decorative">
<?= icon('european-stars-colored', 'w-5.5'); ?>
<span>F</span>
</span>
<input type="text" id="license-plate" name="license-plate" placeholder="ex BB 466 ZZ...">
<span class="form-license-plate__decorative">
<?= icon('flower', 'w-5.5'); ?>
<span>00</span>
</span>
</label>
</div>
Input Not Editable - Voir le template
  • template
<div class="form-element text not-editable">
<input name="name" class="form-input" id="name" type="text" title="Nom" placeholder=" " pattern="\S+" value="Tressol" disabled>
<label class="label" for="name">
<span>Nom</span>
</label>
</div>