News for hackers. Stuff that matters.
Re:The Overcomplexity of the Shadcn Radio Button by whstl on Tuesday January 20, 2026 @05:50AM (#46690420)
Wrapping it in a label is the idiomatic and correct way, and should be done even when not styling. Perhaps especially when not styling.

Putting an adjacent label is also possible, but scales poorly due to needing unique ids.

There are no comments on this comment yet.