Components
Input
Champ texte standard utilisé dans tous les formulaires du portail.
États
Format attendu : nom@domaine.ci
Email invalide
Disponible
Props
| Prop | Type | Défaut | Description |
|---|---|---|---|
| type | "text" | "email" | "password" | "tel" | "text" | Type natif HTML. |
| error | string | — | Message d'erreur affiché sous le champ. |
| hint | string | — | Aide neutre sous le champ. |
| disabled | boolean | — | Désactive l'input. |
Code
<label className="text-sm font-medium">Email</label>
<input type="email" className="w-full h-11 rounded-md border px-3" />