UX Planet

UX Planet is a one-stop resource for everything related to user experience.

Follow publication

Member-only story

The basics of designing a switch component in a design system

A simple guide to understanding the switch UI element

Edward Chechique
UX Planet
Published in
4 min readJan 23, 2023

The basics of designing a switch component in a design system

Every design system should include the switch component. This component, also called a toggle component, is a small and basic component commonly used on mobile devices and desktop apps, and it is used to enable and disable different options.

This article focuses on the switch component, its basics, the UI design, and some best practices.

Switch component basic structure

The switch component consists of a track and a thumb. The thumb travels along the track to indicate its current status. It is possible to design this component with an indicator inside the thumb or the track to explain the status, but in most design systems, the basic design is used.

Switch component basic structure
Switch component basic structure

State and possibilities

In most design system documentation I have read, the common statuses are enabled, disabled, and focus. Additionally, there are two statuses in Google material design, hover and pressed.

Create an account to read the full story.

The author made this story available to Medium members only.
If you’re new to Medium, create a new account to read this story on us.

Or, continue in mobile web

Already have an account? Sign in

Published in UX Planet

UX Planet is a one-stop resource for everything related to user experience.

Written by Edward Chechique

Product Designer, Specializing in Complex Products and Design Systems | Figma Expert | Mentorship | Writing about Product Design: www.linkedin.com/in/edwche

No responses yet

Write a response