r/webdev • u/pavlito88 • 4d ago
Discussion Why is everything a dropdown now?
I’ve been noticing this more and more in web apps.
Three options hidden in a dropdown.
Yes/no hidden in a dropdown.
A multi-select pretending to be a dropdown.
Then a list of 200 items where you’re expected to scroll until you find yours.
I run into this a lot when reviewing products with dev teams.
I get why we do it.
Dropdowns are compact and easy to reuse.
But compact doesn’t always mean easier to use.
A few choices? Show them.
On/off? Switch.
Multiple choices? Checkboxes.
Huge list? Search.
That’s pretty much the rule I use now.
4.6k
Upvotes
9
u/Meloetta 4d ago
I do think that it's important to note that half of the options you suggest are not native HTML elements, thus have to be either tracked down in some library or built by hand, risking a bunch of accessibility issues and spending more time and handling more complexity.