Beehaw
  • Communities
  • Create Post
  • search
    Search
  • Login
  • Sign Up
starman ( starman@programming.dev )  to Programming@programming.devEnglish · 3 years ago

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

ux.stackexchange.com

external-link
message-square
22
link
fedilink
  • cross-posted to:
  • uiux@programming.dev
  • hackernews@lemmy.smeargle.fans
69
external-link

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

ux.stackexchange.com

starman ( starman@programming.dev )  to Programming@programming.devEnglish · 3 years ago
message-square
22
link
fedilink
  • cross-posted to:
  • uiux@programming.dev
  • hackernews@lemmy.smeargle.fans
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

  • Gamma ( GammaGames@beehaw.org ) 
    link
    fedilink
    English
    arrow-up
    2
    ·
    3 years ago

    Why is this 13 year old stack overflow question being reposted

    • λλλ ( lambda@programming.dev ) 
      link
      fedilink
      arrow-up
      7
      ·
      edit-2
      3 years ago

      Weird, but I found it a super interesting read. It made me think of Home Assistant as one of the only software that I could think of that uses a toggle button from the top of my head. I think it handles these states wonderfully.

      Off-big On-big Off-smallOn-small

      Edit: The big one I rarely see. But, either one seems quite intuitive.

      • Gamma ( GammaGames@beehaw.org ) 
        link
        fedilink
        English
        arrow-up
        1
        ·
        3 years ago

        That’s fair, I use toggles somewhat regularly in web dev and semantic ui has nice styling for them. Not as fancy as home assistant though, those are very clear!

        • λλλ ( lambda@programming.dev ) 
          link
          fedilink
          arrow-up
          2
          ·
          3 years ago

          Right?!? I find their design to be some of the best I’ve seen. Even against proprietary software.

    • 💡𝚂𝗆𝖺𝗋𝗍𝗆𝖺𝗇 𝙰𝗉𝗉𝗌📱 ( SmartmanApps@programming.dev ) 
      link
      fedilink
      English
      arrow-up
      2
      ·
      3 years ago

      Didn’t you get the memo? We’re doing away with privately-owned platforms and starting fresh in the Fediverse :-)

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



Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 91 users / day
  • 382 users / week
  • 1.75K users / month
  • 4.15K users / 6 months
  • 450 local subscribers
  • 28.9K subscribers
  • 2.97K Posts
  • 23.1K Comments
  • Modlog
  • mods:
  • snowe ( snowe@programming.dev ) 
  • Ategon ( Ategon@programming.dev ) 
  • UlrikHD ( UlrikHD@programming.dev ) 
  • bugsmith ( bugsmith@programming.dev ) 
  • Spyro ( Spyro@programming.dev ) 
  • BE: 0.19.15
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code