In this design tutorial, weβre going to create an IOS Toggle Button π using Adobe XD.
Follow the same steps on Sketch, Figma, InVision, or any other design tool as well.
Simple design tutorials every Tuesday π
Letβs Begin π₯
Open the Adobe XD and create a new artboard of 1080x1080 pixels.
Select the rectangle tool from the tools panel or use the keyboard shortcut (Rectangle β R)π₯
πTip: Use shortcuts often to increase efficiency and productivity.
Add a rectangle with a size of 520x316
And add a border to it with a stroke width of 5
Make the corners rounded using the corner pins or use the corner radius on the properties panel to adjust manually.
Add a circle inside the rounded rectangle with a solid color fill HEX:#FFFFFF.
Select all the objects (ctrl/cmd+A) and make a new component (ctrl/cmd+K).
Then add a hover state to it .
Move the circle to the right end and add a color fill to the rounded rectangle HEX:#4CD964
Go to the prototype tab, Add auto-animate and Select the default state.
And, Preview the animation by hovering the mouse pointer over the toggle buttonππ
Play with the auto-animate options to have different animations π€π€π€
Check our previous tutorials π€
Follow us on Instagram π©
Share your designs with us π
Drop your comments below π
Thanks for reading! π