--- title: Image check summary: The image check is a great way to make your form more user-friendly and engaging. You can use the image check to create a visually appealing form that will help users make decisions quickly and easily. description: Add visual appeal to forms with images. --- ## Default markup To build an image check, you need to use the `.form-imagecheck` class and the `.form-imagecheck-input` class for the input element. You can also use the `.form-imagecheck-figure` class to display the custom checkbox and the `.form-imagecheck-image` class to style the image itself. ```html ``` Look at the examples below to see how the image check works: {% capture html -%}
{%- endcapture %} {% include "docs/example.html" html=html %} ## Radio buttons If you want to use the image check as a radio button, you can change the input type to `radio`. {% capture html -%}
{%- endcapture %} {% include "docs/example.html" html=html %} ## Avatars If you want to use the image check with avatars, you can use an [avatar component](/ui/components/avatars) instead of an image. {% capture html -%}
{%- endcapture %} {% include "docs/example.html" html=html %}