Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
UX improvements to snippet preview #13192
Is your feature request related to a problem? Please describe.
The current toggle to switch between the mobile and desktop snippet preview is unclear. Based on the discussion about UX and a11y in this design issue, we have an approved product solution to build.
Describe the solution you'd like
The radio buttons are based on those from Material UI. You can take some inspiration from their repo: https://github.com/mui-org/material-ui/tree/3f56ea14dbb964578eebe4258b50b2a0426c8cfb
The radio buttons will not be styled like the material-ui components within this issue. After some consideration, for consistency's sake, the decision was made that a component should be created for all radio buttons, not only the ones in the scope of this issue. A separate issue will be created to redesign all radio buttons. In this issue default radio buttons will be used.
(CC @luckickken )