UX Planet

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

Follow publication

Top 15 Switch & Toggle Github UI Libraries and Components [Java & Swift]

✨ They Make Design ✨
UX Planet
Published in
3 min readMay 28, 2018

Many applications are using the switch and toggle element in various combinations. At first glance it would seem that such a simple element, but how many of its implementations can be found in the execution of the code. Animations in addition to transition from the “on” state to the “off” state can provide other useful functions associated with the emotional background of the application, grouping of elements, and the behavior of other elements of the application with respect to switch or toggle. It is even more difficult to imagine how to execute it in the form of program code.

So, we dig into Github archives and found some UI libraries which allow to use toggle and switch functionality in various ways and we’d like to present them:

1. Jelly Toggle Button by Nightonke

Cute and colorful toggle button with 18 jelly types and 30 ease types.

2. Paper Switch by Ramotion (Ramotion)

Swift material design UI module which paints over the parent view when the switch is turned on.

3. Animated Switch by alsedi (Alex Sergeev)

UISwitch which paints over the parent view with the color in Swift.

4. LT Jello Switch by lexrus (Lex 汤)

A rapid prototype of UISwitch built with Swift and PaintCode.

5. Icon Switch by polyak1

🍭 Custom Android Switch widget

6. PW Switch by Shaninnik

Highly customizable UISwitch built with CALayers and CAAnimations

7. Material Animated Switch by glomadrian (Adrián García Lomas)

A material Switch with icon animations and color transitions

8. Switch Button by zcweng

SwitchButton.An beautiful+lightweight+custom-style-easy switch widget for Android,minSdkVersion >= 11

9. Better Segmented Control by gmarm (George Marmaridis)

An easy to use, customizable replacement for UISegmentedControl & UISwitch.

10. Toggle Button Group by nex3z

A group of flowable toggle buttons, with multiple / single selection support and button customization.

11. Toggle Switch by Yamertinc

This project aims to provide a working dual toggle button implementation.

12. RM Switch by Riccardo Moro

A simple and customizable two or three states Switch View

13. Android Switch Icon by zagum

Google launcher-style implementation of switch (enable/disable) icon

14. Switch Button by BaymaxTong

DayOrNight SwitchButton

15. PMZ Switch by kovpas

DayOrNight SwitchButton

If you enjoyed this selection of UI libraries please recommend and share.

Discover more Top App Developers here

See also:

Published in UX Planet

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

Written by ✨ They Make Design ✨

A team with 10 yrs of experience in branding web design and UI/UX.

Write a response