Thind.dev Newsletter

Webflow developer goodies directly in your inbox.

You have been added to the list ✌️
Oops! Something went wrong while submitting the form.
Made by

Radio Buttons

Radio buttons in Webflow allow users to select one option from a set of choices.

  1. Radio Group

    Choose your age group
    Thank you! Your submission has been received!
    Oops! Something went wrong while submitting the form.
    <style>
    input[type=radio] {
      appearance: none;
      background-color: var(--body--color--background);
      border: 1px solid var(--border--color--medium);
      border-radius: 50%;
      width: 16px;
      height: 16px;
      cursor: pointer;
      position: relative;
    }
    
    input[type=radio]:checked {
      background-color: var(--body--color--foreground);
    }
    
    input[type=radio]:checked::after {
      content: '';
      position: absolute;
      top: 3px;
      left: 3px;
      width: 8px;
      height: 8px;
      border-radius: 50%;
      background-color: var(--body--color--background);
    }
    </style>
  2. Radio Cards

    Thank you! Your submission has been received!
    Oops! Something went wrong while submitting the form.
    <style>
    .form_radio-icon:checked ~ .form_input-card {
    	border-color: var(--button--color--neutral--background);
    	background: var(--button--color--neutral--hover-foreground)
    }
    
    </style>