News for hackers. Stuff that matters.
Re:The Overcomplexity of the Shadcn Radio Button by archerx on Tuesday January 20, 2026 @05:38AM (#46690355)
The only <input> that is annoying to style is the “select” one because it’s hard to style the “options”. The rest seem reasonable and quite customizable in my experience.
Re:The Overcomplexity of the Shadcn Radio Button by christophilus on Tuesday January 20, 2026 @07:00AM (#46690916)
The date picker still sucks.
Re:The Overcomplexity of the Shadcn Radio Button by dlisboa on Tuesday January 20, 2026 @07:18AM (#46691033)
Not on mobile. Most internet access these days is mobile.
Re:The Overcomplexity of the Shadcn Radio Button by archerx on Tuesday January 20, 2026 @07:05AM (#46690964)
I admit I haven’t had to use the date picker in a long time but I looked at the MDN for an example of the default implementation of it and it seemed fine on my iPhone. What issues have you encountered with it? I imagine it’s a different story on desktop browsers.
Re:The Overcomplexity of the Shadcn Radio Button by charrondev on Wednesday January 21, 2026 @01:19AM (#46701802)
It’s been good on mobile for a while, and it’s a travesty on desktop.

Then if you want something a little bit complicated you have to do it all yourself.

- What if I need a date range instead of a single date? - What if I have excluded dates? (Only weekdays/only in the future/blackout dates) - What if I want to show other metadata with each day? (Like in a calendar showing each day with some metadata next to it)

Beyond “give a whatever the system thinks is a good date picker that I have no control over” the input with type date isn’t very useful.

Re:The Overcomplexity of the Shadcn Radio Button by dbbk on Tuesday January 20, 2026 @10:09AM (#46692569)
And even select is fully customisable now if you're targeting modern browsers
Re:The Overcomplexity of the Shadcn Radio Button by efilife on Tuesday January 20, 2026 @10:37AM (#46692911)
really? how?
Re:The Overcomplexity of the Shadcn Radio Button by mcintyre1994 on Tuesday January 20, 2026 @11:42AM (#46694022)
The article says browser support is limited, but good docs: https://developer.mozilla.org/en-US/docs/Learn_web_developme...
Re:The Overcomplexity of the Shadcn Radio Button by dbbk on Wednesday January 21, 2026 @05:00AM (#46703380)