---
title: "Modèle de formulaire d’avis avec pouce levé ou baissé"
canonical: "https://glueforms.com/fr/templates/like-dislike-feedback"
language: "fr"
description: "Proposez deux réponses avec des icônes de pouce, un commentaire et une adresse e-mail facultatifs. Modifiez le formulaire et copiez le HTML sans compte."
---

[← Tous les modèles](https://glueforms.com/fr/templates)

# Modèle de formulaire d’avis avec pouce levé ou baissé

Demandez si une page a été utile. Les visiteurs peuvent expliquer leur réponse et laisser une adresse pour être recontactés.

[Modifier le formulaire](https://glueforms.com/fr/builder?template=reaction)

## Cas d’usage

- Articles d’aide
- Nouveautés produit
- Suivi après une demande d’assistance

## Utiliser ce formulaire sur votre site

1. Personnalisez les champs et le design.
2. Connectez votre compte et copiez l’URL du formulaire.
3. Collez le HTML dans votre site ou demandez à votre outil d’IA de connecter le formulaire.

### Champs inclus

- Cette page vous a-t-elle été utile ?
- Un commentaire ?
- Adresse e-mail

## Questions sur ce modèle

**Faut-il un compte pour modifier ce formulaire ?**

Vous pouvez modifier les champs et le HTML avant de créer un compte. Reliez ensuite le formulaire pour recevoir les réponses.

**Quelles données vais-je recevoir ?**

Vous recevrez le choix du visiteur ainsi que son commentaire et son adresse e-mail s’il les a renseignés. Une seule réponse peut être sélectionnée.

## Autres modèles

[Comment s’est passée votre expérience ?](https://glueforms.com/fr/templates/rating-scale)[Donnez votre avis](https://glueforms.com/fr/templates/feedback)

## HTML

```html
<style>
.gf-choice-form { box-sizing: border-box; display: grid; gap: 24px; max-width: 580px; margin: 0 auto; padding: 32px; color: #111216; background: #fff; font: 14px/1.5 system-ui, sans-serif; }
.gf-choice-form * { box-sizing: border-box; }
.gf-choice-form h2 { margin: 0; font-size: 26px; line-height: 1.2; font-weight: 600; letter-spacing: -.035em; }
.gf-choice-form fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
.gf-choice-form legend { padding: 0; margin-bottom: 16px; font-weight: 500; }
.gf-choice-form .choices { display: grid; gap: 10px; position: relative; }
.gf-choice-form .choices--reaction { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.gf-choice-form .choices--scale { grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 6px; }
.gf-choice-form .choice-input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; padding: 0; }
.gf-choice-form .choice-label { display: flex; align-items: center; justify-content: center; gap: 9px; min-width: 0; min-height: 48px; padding: 12px 8px; border: 1px solid #d8d9e1; border-radius: 9px; color: #42424d; background: #fff; cursor: pointer; font-weight: 500; text-align: center; }
.gf-choice-form .choices--reaction .choice-label { flex-direction: column; min-height: 96px; }
.gf-choice-form .choices--scale .choice-label { padding: 8px 2px; min-height: 44px; border-radius: 6px; }
.gf-choice-form .choice-label svg { flex: 0 0 auto; width: 28px; height: 28px; }
.gf-choice-form .choice-label:hover { color: #2541e8; border-color: #2541e8; background: #eef3ff; }
.gf-choice-form .choice-input:checked + .choice-label { color: #fff; background: #2541e8; border-color: #2541e8; }
.gf-choice-form .choice-input:focus-visible + .choice-label { outline: 2px solid #2541e8; outline-offset: 3px; }
.gf-choice-form .gf-field { display: grid; gap: 8px; }
.gf-choice-form .gf-field label { font-weight: 500; }
.gf-choice-form textarea, .gf-choice-form input[type=email] { display: block; width: 100%; border: 1px solid #d8d9e1; border-radius: 8px; padding: 12px; font: inherit; color: inherit; background: #fff; }
.gf-choice-form textarea { min-height: 90px; }
.gf-choice-form button[type=submit] { justify-self: start; border: 0; border-radius: 8px; padding: 12px 20px; color: #fff; background: #2541e8; font: inherit; font-weight: 500; cursor: pointer; }
@media (max-width: 480px) { .gf-choice-form { padding: 20px; } .gf-choice-form .choices--scale { grid-template-columns: repeat(5, minmax(0, 1fr)); } }

</style>
<form action="YOUR_FORM_URL" method="POST" class="gf-form gf-choice-form gf-choice-form--reaction">
<h2>Votre avis en un clic</h2>
<fieldset><legend>Cette page vous a-t-elle été utile ?</legend><div class="choices choices--reaction"><input class="choice-input" id="preset-reaction-like" type="radio" name="reaction" value="like" required><label class="choice-label" for="preset-reaction-like"><svg width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" data-icon="thumbs-up"><path d="M15 5.88 14 10h5.83a2 2 0 0 1 1.92 2.56l-2.33 8A2 2 0 0 1 17.5 22H4a2 2 0 0 1-2-2v-8a2 2 0 0 1 2-2h2.76a2 2 0 0 0 1.79-1.11L12 2a3.13 3.13 0 0 1 3 3.88Z"></path><path d="M7 10v12"></path></svg><span class="gf-choice-copy">Oui</span></label><input class="choice-input" id="preset-reaction-dislike" type="radio" name="reaction" value="dislike" required><label class="choice-label" for="preset-reaction-dislike"><svg width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" data-icon="thumbs-down"><path d="M9 18.12 10 14H4.17a2 2 0 0 1-1.92-2.56l2.33-8A2 2 0 0 1 6.5 2H20a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2h-2.76a2 2 0 0 0-1.79 1.11L12 22a3.13 3.13 0 0 1-3-3.88Z"></path><path d="M17 14V2"></path></svg><span class="gf-choice-copy">Non</span></label></div></fieldset>
<div class="gf-field"><label for="preset-reaction-comment">Un commentaire ?</label><textarea id="preset-reaction-comment" name="comment" placeholder="Vous pouvez préciser votre réponse."></textarea></div>
<div class="gf-field"><label for="preset-reaction-email">Adresse e-mail</label><input id="preset-reaction-email" type="email" name="replyto" autocomplete="email" placeholder="vous@example.com"></div>
<button type="submit">Envoyer mon avis</button>
</form>
```

## React

```jsx
import "./QuickFeedbackForm.css";

export default function QuickFeedbackForm() {
  return (
    <form className="gf-form" action="YOUR_FORM_URL" method="POST">
      <h2>{"Votre avis en un clic"}</h2>
      <fieldset className="gf-field">
        <legend>{"Cette page vous a-t-elle été utile ?"}<span className="gf-required-indicator" aria-hidden="true"> *</span></legend>
        <div className="gf-react-choices">
          <label className="gf-react-choice" htmlFor="gf-react-reaction-reaction-0">
            <input id="gf-react-reaction-reaction-0" name={"reaction"} type="radio" value={"like"} required />
            <span>{"Oui"}</span>
          </label>
          <label className="gf-react-choice" htmlFor="gf-react-reaction-reaction-1">
            <input id="gf-react-reaction-reaction-1" name={"reaction"} type="radio" value={"dislike"} required />
            <span>{"Non"}</span>
          </label>
        </div>
      </fieldset>
      <div className="gf-field">
        <label htmlFor="gf-react-reaction-comment">{"Un commentaire ?"}</label>
        <textarea id="gf-react-reaction-comment" name={"comment"} placeholder={"Vous pouvez préciser votre réponse."} defaultValue={""} rows={4} />
      </div>
      <div className="gf-field">
        <label htmlFor="gf-react-reaction-replyto">{"Adresse e-mail"}</label>
        <input id="gf-react-reaction-replyto" name={"replyto"} type="email" placeholder={"vous@example.com"} autoComplete="email" />
      </div>
      <button type="submit">{"Envoyer mon avis"}</button>
    </form>
  );
}
```

### CSS

```css
.gf-form, .gf-form * { box-sizing: border-box; }
.gf-form { display: grid; gap: 20px; max-width: 560px; margin: 0 auto; padding: 32px; color: #111216; background: #fff; font: 14px/1.5 system-ui, sans-serif; }
.gf-form h1, .gf-form h2 { margin: 0 0 8px; font-size: 26px; font-weight: 600; letter-spacing: -.04em; }
.gf-form .gf-field { display: grid; gap: 7px; min-width: 0; }
.gf-form label, .gf-form legend { font-weight: 500; }
.gf-form input, .gf-form textarea, .gf-form select { width: 100%; border: 1px solid #d8d9e1; border-radius: 8px; background: #fff; color: inherit; padding: 11px 12px; font: inherit; }
.gf-form textarea { min-height: 112px; }
.gf-form input[type=checkbox], .gf-form input[type=radio] { width: auto; margin-right: 8px; }
.gf-form button[type=submit] { border: 0; border-radius: 8px; padding: 12px 18px; background: #2541e8; color: #fff; font: inherit; font-weight: 500; cursor: pointer; }
.gf-form fieldset { border: 0; padding: 0; margin: 0; }
.gf-form .gf-choice-field { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: start; gap: 8px; }
.gf-form .gf-choice-field > input { grid-column: 1; grid-row: 1; width: 16px; height: 16px; margin: 3px 0 0; padding: 0; }
.gf-form .gf-choice-field > label { grid-column: 2; grid-row: 1; min-width: 0; overflow-wrap: anywhere; }
.gf-select-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  min-width: 0;
}
.gf-select-wrap > select {
  grid-column: 1;
  grid-row: 1;
  appearance: none;
  padding-right: 44px;
}
.gf-select-wrap > svg {
  grid-column: 1;
  grid-row: 1;
  justify-self: end;
  width: 18px;
  height: 18px;
  margin-right: 16px;
  pointer-events: none;
}
.gf-required-indicator { color: #6b6c77; font-weight: 400; margin-left: 3px; }
@media (max-width: 480px) { .gf-form { padding: 20px; } }
.gf-form .gf-react-choices { display: grid; grid-template-columns: repeat(auto-fit, minmax(64px, 1fr)); gap: 10px; }
.gf-form .gf-react-choice { display: flex; align-items: center; gap: 8px; padding: 12px; border: 1px solid #d8d9e1; border-radius: 8px; cursor: pointer; }
.gf-form .gf-react-choice input { flex-shrink: 0; margin: 0; }
.gf-form input[type=file] { max-width: 100%; }
```
