Skip to content

Implementing a Toggle Switch in React JS as a Reusable Component

Notifications You must be signed in to change notification settings

praveenscience/ToggleSwitch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Implementing a Toggle Switch in React JS as a Reusable Component

Blog Logo

Introduction

This is the supporting GitHub Repository for the article Implementing a Toggle Switch in React JS as a Reusable Component that I wrote recently. We are going to create a toggle switch (or that is what they call) using React JS and we will be using React components for this. In this article, we will see how to build a customised toggle switch component with React JS.

At the end of the article, we would have built a simple demo React App that uses our custom toggle switch component. When we are creating web applications, it usually involves working out the best for user interactions. One of the major ways of making provision for user interactions is through forms. Different form components exist for taking different kinds of input from the user. Here we will be looking at how to build an iOS inspired Toggle Switch control component.

Contents

Contents

Contributing

Feel free to create Pull Requests. I'll try to be as much as responsive as possible and approve them.

Issues

Please use the Issue Tracker to raise issues.

About

Implementing a Toggle Switch in React JS as a Reusable Component

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published