Checkbox

The Checkbox block in Greyd Forms allows you to add a single checkbox element to your form. Once inserted, you can directly edit the label text within the editor.

Screenshot of an empty Checkbox block after insertion.

For the label, default styling options (bold, italic, other inline styles) are available. You can also set links or triggers.

Settings

Screenshot of the Settings tab, explained in the following paragraphs.

Within the General settings, you can change the automatically populated field name that is submitted with the form. Additionally, there are options to make the checkbox a required field, enable a default privacy text (which is configured in the global forms settings), and pre-check the checkbox when the page loads.

The block also supports Animations. In the Advanced section, you can find settings for additional CSS classes, the Greyd Styles Class and toggles to hide the block per breakpoint.

Styles

Screenshot of the Styles tab, explained in the following paragraphs.

Under Styles, you can choose between three different base styles for the checkbox appearance:

  • Checkbox
  • Radio button
  • iOS Switch

Under Dimensions, the block supports Core spacing controls, allowing you to set paddings for all sides and margins for top and bottom as needed.

Under Text color, you can define the color of the text label that appears next to the checkbox. It’s also possible to change the color on hover by toggling the button with the pointing finger above. See the pseudo-classes documentation for more details.

Under Icon color, you can set an individual icon color different from your text color, if needed. The icon color can have hover and active states, see the pseudo-classes documentation for more details.

Under Typography you can adjust the font size of the checkbox label. The options include selecting from a preset defined in the global styles or entering a custom size.

Video

You are currently viewing a placeholder content from Vimeo. To access the actual content, click the button below. Please note that doing so will share data with third-party providers.

More Information

Last updated: