awesome-repositories.com
博客
MCP
awesome-repositories.com

通过 AI 驱动的搜索,发现最优秀的开源仓库。

探索精选搜索开源替代品自托管软件博客网站地图
项目MCP 服务器关于排名机制媒体报道
法律隐私政策服务条款
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
markusenglund avatar

markusenglund/react-switch

0
View on GitHub↗
1,340 星标·100 分支·JavaScript·MIT·9 次浏览react-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 历史

markusenglund/react-switch 的 Star 历史图表markusenglund/react-switch 的 Star 历史图表

AI 搜索

探索更多 awesome 仓库

用简单的语言描述您的需求 —— AI 将根据相关性为您从数千个精选开源项目中进行排序。

Start searching with AI

包含 React Switch 的精选搜索

收录 React Switch 的精选合集。
  • Boolean input components

常见问题解答

markusenglund/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.

markusenglund/react-switch 的主要功能有哪些?

markusenglund/react-switch 的主要功能包括: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。

markusenglund/react-switch 有哪些开源替代品?

markusenglund/react-switch 的开源替代品包括: 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…

React Switch 的开源替代方案

相似的开源项目,按与 React Switch 的功能重合度排序。
  • zhuzichu520/fluentuizhuzichu520 的头像

    zhuzichu520/FluentUI

    4,421在 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
    在 GitHub 上查看↗4,421
  • euvl/vue-js-toggle-buttoneuvl 的头像

    euvl/vue-js-toggle-button

    924在 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
    在 GitHub 上查看↗924
  • longbridge/gpui-componentlongbridge 的头像

    longbridge/gpui-component

    11,793在 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
    在 GitHub 上查看↗11,793
  • xinthink/react-native-material-kitxinthink 的头像

    xinthink/react-native-material-kit

    4,821在 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
    在 GitHub 上查看↗4,821
查看 React Switch 的所有 30 个替代方案→