Silver's Home
  • Communities
  • Create Post
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
@starman@programming.dev to Programming@programming.devEnglish • 1 year ago

Should a toggle button show its current state or the state to which it will change?

ux.stackexchange.com

external-link
message-square
62
fedilink
100
external-link

Should a toggle button show its current state or the state to which it will change?

ux.stackexchange.com

@starman@programming.dev to Programming@programming.devEnglish • 1 year ago
message-square
62
fedilink
I have a quick question about buttons that toggle between two states. (Think Play/Pause, or Shuffle/Regular Play.) As the title says, should the toggle show it's current state or the state to which...

cross-posted from: https://programming.dev/post/9907892

  • @nxdefiant@startrek.website
    link
    fedilink
    14•1 year ago

    I’d argue that a light switch has an indicator that shows the current state, separate from the switch.

    • 💡𝚂𝗆𝖺𝗋𝗍𝗆𝖺𝗇 𝙰𝗉𝗉𝗌📱
      link
      fedilink
      English
      4•1 year ago

      Not if the globe has blown out, in which case you need the switch to indicate which state it is in (unless you like to live dangerously and change globes in lights that may be still on :-) ).

Programming@programming.dev

!programming@programming.dev

Subscribe from Remote Instance

Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: !programming@programming.dev

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person’s post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you’re posting long videos try to add in some form of tldr for those who don’t want to watch videos

Wormhole

Follow the wormhole through a path of communities !webdev@programming.dev



  • 577 users / day
  • 936 users / week
  • 2.51K users / month
  • 7.7K users / 6 months
  • 21.4K subscribers
  • 2.24K Posts
  • 34.2K Comments
  • Modlog
  • mods:
  • snowe
  • Ategon
  • @MaungaHikoi@lemmy.nz
  • @UlrikHD@programming.dev
  • BE: 0.19.3
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org