Article 72ZB2 The incredible overcomplexity of the Shadcn radio button

The incredible overcomplexity of the Shadcn radio button

by
Thom Holwerda
from OSnews on (#72ZB2)

The other day I was asked to update the visual design of radio buttons in a web app at work. I figured it couldn't be that complicated. It's just a radio button right?

<input type="radio" name="beverage" value="coffee" />

Boom! Done. Radio buttons are a built-in HTML element. They've been around for 30 years. The browser makes it easy. Time for a coffee.

Paul Hebert

If only it was that simple - cue the rollercoaster ride. What an absolutely garish state of affairs lies behind this simple radio button on a website. I'm also well aware OSNews has a certain amount of complexity it might not need, and while I can't fix that, I am at least working on a potential solution.

External Content
Source RSS or Atom Feed
Feed Location http://www.osnews.com/files/recent.xml
Feed Title OSnews
Feed Link https://www.osnews.com/
Reply 0 comments