A radio button is this:
<input type="radio" name="foo">Code language: HTML, XML (xml)
Paul Hebert took at fair look at how Shadcn turns that into 45 lines of code and three imports, which in turn uses Radix which is 215 lines of code and 7 more imports. But do you get better accessibility? No, it’s arguably worse. But do you get ease of styling? Also no.
