-
Hello, some feedback and suggestions for the toggle component. From documentationFrom the documentation this is how the toggle component should look like: In my opinion I think the toggle component should just be a group of buttons. Based on the current documentation this is how the buttons look like: I think for consistency it would be better for the toggle to just use the current buttons design, but just group them together. We could still have the same basic and outline options, being the basic the primary buttons and the outlined the secondary buttons. The toggle component also seems to use the ripple effect, I think a decision would need to be made, for all the buttons to use the ripple effect or none of the buttons to use the effect, for consistency in the Halstack design . Also the color yellow is introduced on the toggle component, when is not part of the Halstack colours. So far I can't see any other buttons in the Halstack containing yellow. Thank you for taking the time to read, hopefully this will spark some discussion. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Thanks @joaorbp for opening the discussion! Documentation of the toggle group hasn't been yet updated. The last component styles are available in: Apart from that: Semantically speaking
Not only related to how is built but also how is named: Merriam-Webster defines the toggle as:
Since the current Structure Since I propose the idea of changing the name to
|
Beta Was this translation helpful? Give feedback.
-
Hi @joaorbp, The toggle documentation has been updated in release 3.8.0! You can check the toggle documentation here. Or see what we updated from the last release. |
Beta Was this translation helpful? Give feedback.
Hi @joaorbp,
The toggle documentation has been updated in release 3.8.0!
You can check the toggle documentation here.
Or see what we updated from the last release.