A UI/UX design debate around dark mode toggles argues that a simple two-state light/dark control can express all three intents (light, dark, system) if the default falls back to system preference and an override is stored in localStorage for future visits. The piece endorses Lea Verou's stance that persistent, always-visible toggles should avoid a redundant System option since it adds cognitive load without real benefit, while noting two legitimate exceptions: settings-panel toggles and interfaces offering more than two color schemes.

Questions this post answers
Do I need a system option in my dark mode toggle, or is light/dark enough?
A two-state light/dark toggle is enough for most persistent UI, because it can still express all three states: default to the system preference, then let the toggle act as an override once the visitor changes it, storing that choice in localStorage. A three-state toggle only makes sense when the control lives in a separate settings panel or when more than two color schemes are offered. Weigh design tradeoffs like this two-state versus three-state toggle debate through developer discussions on daily.dev.
159.2K Impressions8 Comments