awesome-repositories.com
Blog
MCP
awesome-repositories.com

Discover the best open-source repositories with AI-powered search.

ExploreCurated searchesOpen-source alternativesSelf-hosted softwareBlogSitemap
ProjectMCP serverAboutHow we rankPress
LegalPrivacyTerms
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
markusenglund avatar

markusenglund/react-switch

0
View on GitHub↗
1,340 stars·100 forks·JavaScript·MIT·9 viewsreact-switch.netlify.app↗

React Switch

React Switch is an interactive form input element for capturing binary boolean choices in web applications. It functions as a reusable toggle switch component designed to assemble accessible layouts.

The component supports custom styling, embedded icons, and smooth dragging interactions across both mouse and touch screen gestures. Developers can customize dimensions, colors, shadows, border radius, and active states. It also includes options to restrict user interaction and visually dim the presentation.

Features

  • Toggle Switches - Provides an interactive form input component for capturing binary boolean choices in web applications.
  • Custom Form Controls - Provides custom styling and configuration options for form input elements to match specific design requirements.
  • Form Input Controls - Serves as an interactive form input element specifically designed for capturing binary boolean choices.
  • Controlled Component State - Maintains external state synchronization by accepting value props and emitting change notifications for controlled toggle behavior.
  • Icon Appearance Customizations - Supports custom dimensions, colors, shadows, border radius, and embedded icons for active and inactive switch states.
  • Cross-Platform UI Component Libraries - Creates accessible user interface elements designed to respond reliably to both mouse clicks and touch gestures.
  • CSS Transform Translations - Applies hardware-accelerated CSS translation styles to animate the switch handle smoothly during dragging interactions.
  • Interface Component Libraries - Functions as a reusable UI component designed to assemble modern and accessible web application layouts.
  • Cross-Platform Pointer Event Mappers - Unifies mouse and touch screen interactions through normalized pointer event listeners to track drag distance reliably.

Star history

Star history chart for markusenglund/react-switchStar history chart for markusenglund/react-switch

AI search

Explore more awesome repositories

Describe what you need in plain English — the AI ranks thousands of curated open-source projects by relevance.

Start searching with AI

Open-source alternatives to React Switch

Similar open-source projects, ranked by how many features they share with React Switch.
  • zhuzichu520/fluentuizhuzichu520 avatar

    zhuzichu520/FluentUI

    4,421View on GitHub↗

    FluentUI is a component-based UI framework that implements Microsoft's Fluent Design System for building cross-platform desktop applications. It provides a complete set of reusable UI components and styling tools that follow the Fluent Design language, enabling developers to create consistent visual interfaces across different operating systems. The framework includes a custom window frame manager that creates frameless application windows with integrated title bars and standard window controls, styled through CSS variables. It also features a single-page application router that manages view

    C++fluentqmlqt
    View on GitHub↗4,421
  • euvl/vue-js-toggle-buttoneuvl avatar

    euvl/vue-js-toggle-button

    924View on GitHub↗

    Vue.js toggle switch component is a lightweight interactive frontend form control that collects boolean input and renders a customizable binary switch for web applications. It functions as a customizable UI widget with configurable colors, dimensions, labels, and transition animations, replacing standard checkboxes and radio buttons to match specific design requirements. The component manages binary toggle states internally while exposing event emitters, triggering callback functions with updated state and click details upon user interaction. It maintains UI consistency through reactive prop

    Vuebuttonjavascriptswitch
    View on GitHub↗924
  • longbridge/gpui-componentlongbridge avatar

    longbridge/gpui-component

    11,793View on GitHub↗

    gpui-component is a native desktop UI kit and component library built for the GPUI framework. It provides a collection of reusable user interface elements, a desktop layout engine for organizing application space, and a specialized data visualization library for rendering quantitative information. The project is distinguished by its high-performance rendering systems, including a virtualized data grid and list system designed to handle large datasets with low memory overhead. It also features a comprehensive data visualization toolkit for rendering charts, axes, and coordinate scales using li

    Rustdesktop-applicationgpuirust
    View on GitHub↗11,793
  • xinthink/react-native-material-kitxinthink avatar

    xinthink/react-native-material-kit

    4,821View on GitHub↗

    This project is a Material Design UI library and cross-platform mobile component kit. It provides a set of pre-styled user interface components and a layout framework designed to ensure a consistent visual experience across different mobile devices. The library includes a mobile theme management system for defining and updating global color palettes and styling rules across an application interface. It implements standardized layout patterns and spacing rules to maintain a clean and consistent design. The toolkit covers the construction of mobile forms and interfaces using elements such as b

    TypeScript
    View on GitHub↗4,821
See all 30 alternatives to React Switch→

Frequently asked questions

What does markusenglund/react-switch do?

React Switch is an interactive form input element for capturing binary boolean choices in web applications. It functions as a reusable toggle switch component designed to assemble accessible layouts.

What are the main features of markusenglund/react-switch?

The main features of markusenglund/react-switch are: Toggle Switches, Custom Form Controls, Form Input Controls, Controlled Component State, Icon Appearance Customizations, Cross-Platform UI Component Libraries, CSS Transform Translations, Interface Component Libraries.

What are some open-source alternatives to markusenglund/react-switch?

Open-source alternatives to markusenglund/react-switch include: zhuzichu520/fluentui — FluentUI is a component-based UI framework that implements Microsoft's Fluent Design System for building… euvl/vue-js-toggle-button — Vue.js toggle switch component is a lightweight interactive frontend form control that collects boolean input and… longbridge/gpui-component — gpui-component is a native desktop UI kit and component library built for the GPUI framework. It provides a collection… xinthink/react-native-material-kit — This project is a Material Design UI library and cross-platform mobile component kit. It provides a set of pre-styled… webstudio-is/webstudio — Webstudio is a visual CMS and website builder that provides a visual development environment for designing and… bttstrp/bootstrap-switch — Bootstrap-switch is a jQuery plugin that transforms standard HTML checkboxes and radio buttons into visual toggle…

Curated searches featuring React Switch

Hand-picked collections where React Switch appears.
  • Boolean input components