Superhero Technologies

Website elementsControls & details

Radio group

A radio button CSS, built into your site with no plugin and no library. One choice from a few, as real <input type="radio">s in a <fieldset> with a <legend>: a styled list, chunky cards with a Font Awesome Free icon, a title and a line, or a segmented pill row. Native keyboard, visible focus, posts name=value in a plain form, and a data-changed event for hosts.

How would you like your order?
Billing period
How should we reach you?

We only get in touch about this order.

Pick how to reach you, then continue.

Let people pick one option at a glance — as a list, as big cards with an icon, or as a pill switch — and it still posts like the plain form it is.

Also called

chunky radio buttonsradio cardscard radio buttonssegmented controlsegmented buttonstoggle button groupcustom radio buttonsstyled radio buttonsGravity Forms radioWPForms multiple choice

What it replaces

  • Gravity Forms / WPForms / Contact Form 7 radio fields with a theme’s styling
  • page-builder “radio image” and “card select” add-ons
  • JavaScript segmented controls that replace the inputs with divs

Good for

Two to six choices people should see side by side: delivery or pickup, a plan, a billing period (segmented), a size, how to be contacted. Chunky cards when each option needs a line of explanation; segmented for two to four short words.

Not for

Many options or long labels: over about six, use a native <select>. Several answers at once: that is checkboxes. An action that happens on click (a view switch that is not part of a form is fine, a Delete button is not). And a list of pages: those are links.

Accessibility

Written so the page works for every visitor, whether they browse with a mouse, a keyboard or a screen reader, and whether or not they have asked for less motion.

  • Real radios in a <fieldset> named by its <legend>: nothing is replaced, given a role or hidden from assistive technology, so screen readers announce “radio button, 2 of 3” and the group’s question.
  • The keyboard is the browser’s: Tab enters the group on the checked radio (or the first), the arrow keys move and select, Space selects, Tab leaves. No script is involved.
  • Each radio is named by its title only; a chunky card’s line of text is its description (aria-describedby), and the hint describes the group.
  • A visible 3px focus ring on the radio, or around the whole card or segment in those looks. Every option is at least 44px tall.
  • Color is never the only signal: the checked radio has a dot, the checked card a heavier border and a fill, and in forced-colors mode checked cards and segments get a Highlight outline.
  • prefers-reduced-motion: no color transition.
  • Without JavaScript nothing is missing: it is a form control, and it posts `name=value` in a plain form, with `required` validation by the browser. The script only adds the data-changed event for hosts.

Where it's live

  • superherotech.ai: /elements/radio-group/ (demo)

How to ask for it

“The radio-group on our home page, with …”

Name it, say which page and which part of the page it goes on, and say what goes in it: your photos, your words, your colors. That is a complete request. We build it, you approve it, and it goes live. If you know it by another name, from WordPress or from another site, that works too.

More elements you can ask for: Before / After, Particle field, Mega menu, Video background, Parallax band, Scroll reveal, Business hours, News ticker, Flip box, Instagram feed, Accordion / FAQ, Card slider, Tabs, Info list, Video player, Testimonial carousel, Icon library, Animated text, Cookie consent, Animated background, Modal box, Announcement bar, Image hotspots, Info circle, Slide box, Countdown, Content toggle, Off-canvas panel, Video gallery, Map and directions, Link effects, Tabcordion, Tooltip, Responsive table, Notice, Toast, Loading, Menu button, Stepper, Tags, Scrollbox, Sticker. Or see all of them working.

More in Controls & details

See them all working
  • Tags

    Show the topics, features or filters that belong to something, and let visitors clear a filter with one tap.

  • Cookie consent

    A consent bar that is yours: no monthly CMP fee, nothing loads from Google until the visitor has said yes where the law needs a yes.

  • Link effects

    Links that answer back when you point at them, and never leave a keyboard user or a slow eye behind.

  • Menu button

    Tuck a handful of actions — share, export, edit, delete — behind one tidy button that works the same with a mouse, a keyboard or a screen reader.

Want the radio group on your site?

Tell us about the business. We build the site with it, launch it, and change it whenever you ask.

Your favorites

Nothing saved yet. Press the heart on any element, feature, style, flavor, palette or typeface pairing and it waits here for you.

Your favorites go with you to checkout, so we know what you want on your site.

Get Started

Your $150 SEO audit, free

We'll read up to ten pages of your site, see what your customers search for and who shows up instead. You'll see your score here in a minute or two, and the full plain-English report comes by email, so use an address you check.

We'll email your report either way.

How we use these: our privacy policy.

Any finding in this report that goes into a build with us does not add to the cost of the build. A person follows up after the report. More about the audit

Message us