A reaction box prompts users to give feedback about a specific new feature in the context of the production site.
This component is not currently in use on the site. Previously, we used reaction boxes to collect feedback on the new interactive charts and graph components in the data section. We’ve kept it in the pattern library because there could be a similar use case for a new feature in the future.
<div style="padding: 2rem">
<div class="reaction-box js-reaction-box">
<fieldset>
<legend class="reaction-box__heading">What do you think of this chart?</legend>
<ul>
<li>
<input type="radio" value="informative" name="reaction" id="reaction-informative">
<label for="reaction-informative">Informative</label>
</li>
<li>
<input type="radio" value="confusing" name="reaction" id="reaction-confusing">
<label for="reaction-confusing">Confusing</label>
</li>
<li>
<input type="radio" value="not-interested" name="reaction" id="reaction-not-interested">
<label for="reaction-not-interested">Not interested</label>
</li>
<li>
<input type="radio" value="none" name="reaction" id="reaction-none">
<label for="reaction-none">None of these</label>
</li>
</ul>
</fieldset>
</div>
</div>
<div style="padding: 2rem">
<div class="reaction-box js-reaction-box">
<fieldset>
<legend class="reaction-box__heading">What do you think of this chart?</legend>
<ul>
<li>
<input type="radio" value="informative" name="reaction" id="reaction-informative">
<label for="reaction-informative">Informative</label>
</li>
<li>
<input type="radio" value="confusing" name="reaction" id="reaction-confusing">
<label for="reaction-confusing">Confusing</label>
</li>
<li>
<input type="radio" value="not-interested" name="reaction" id="reaction-not-interested">
<label for="reaction-not-interested">Not interested</label>
</li>
<li>
<input type="radio" value="none" name="reaction" id="reaction-none">
<label for="reaction-none">None of these</label>
</li>
</ul>
</fieldset>
</div>
</div>
/* No context defined. */