The Unnecessary Complexity of the Shadcn Radio Button

The Unnecessary Complexity of the Shadcn Radio Button

1 Min Read

A radio button is this:

Paul Hebert examined how Shadcn transforms that into 45 lines of code and three imports, which in turn uses Radix with 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.

You might also like