1

Is it good to add a toggle switch on a navbar. I need to switch between the 2 contents in a page by a toggle-switch. If not suggest me a good way to toggle the content

3
  • It would be nice if you expanded your question and explain why you don't use e.g. two links instead of the toggle-switch. Maybe give an example of a specific use case for your toggle-switch.
    – Marvin
    Commented Oct 26, 2015 at 7:59
  • I used tabs for my purpose
    – suhail c
    Commented Oct 26, 2015 at 13:17
  • 1
    Google Inbox is an example of implementing page change with a toggle switch, however I'm not a big fan of it. Commented Nov 25, 2015 at 7:38

2 Answers 2

2

Instead of a toggle switch, a tabbed navigation might be more suitable. consider the example of navigation clothes, the tab on top would separate men and womens clothes.

1

Can you explain it a bit more? maybe a screenshot would help.

However, I would not suggest to use a toggle on the main navigation to switch content. The basic idea of a toggle button is to show enable/disable or rather on/off states. So this might confuse your users. Why don't you use 2 links instead? You could make them prominent by using a primary colour which goes with your branding.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.