Design Details cover image

425: Overengineering Variants

Design Details

00:00

How to Use a Drop Down Toggle in a Component

Just because a thing can be on and off doesn't necessarily mean that you should use the toggle. A drop down might be more instructive to indicate what exactly those two states are, rather than on and off. If you do truly need all 128 of these permutations, or whatever, the number has to be some stupid number. I don't know if youve run into this brime, but if you build a component that is sufficiently large, pigma will yell at you about it. It will warn you over a thousand variants that components that are too big may have performance issues.

Transcript
Play full episode

The AI-powered Podcast Player

Save insights by tapping your headphones, chat with episodes, discover the best highlights - and more!
App store bannerPlay store banner
Get the app