seb-oss / design-library

Design Library is a set of individual styles and components, that when combined make delightful, intuitive designs and shape a consistent SEB user experience.
http://designlibrary.sebgroup.com
14 stars 1 forks source link

Slide toggle is to small on a mobile device #124

Open henrikhoglundseb opened 4 years ago

henrikhoglundseb commented 4 years ago

Your slidertoggle is to small on a mobile device. Its 20px in height. The hitaria is OK :D But the component is preceved as to small when you hit it.

My suggerstion is to make it 30-32px in height just like apple has it on mobile devices.

https://developer.apple.com/design/human-interface-guidelines/ios/controls/switches/

https://designlibrary.sebgroup.com/components/slide-toggle/#guidelines

Screenshot 2020-05-14 at 16 54 42
ghost commented 4 years ago

I vote on making it with 32 px height to match our small button size! Can I also ask about the placement on the Slide toggle?! Shoul it maybe align with top of the label text and not centered in the total grey box?

ulde01 commented 3 years ago

Design update 2020-11-13

Change image

Details

All states

Normal/Off

Hover

Focus

Pressed/On

Pressed & Hover

Contextual helpbutton

Default Size Component has a

Large Size

Component identifier component-slidetoggle

Reason The slide toggle was too small for a mobile context. We also noticed that the standard version needed to be updated and specified better.

Specification https://designlibrary.sebgroup.com/components/component-slidetoggle

Progress