awesome-repositories.com
Blog
awesome-repositories.com

Découvrez les meilleurs dépôts open-source grâce à notre recherche par IA.

ExplorerRecherches sélectionnéesAlternatives open sourceLogiciels auto-hébergésBlogPlan du site
ProjetÀ proposNotre méthodologiePresseServeur MCP
Mentions légalesConfidentialitéConditions d'utilisation
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
kyleduo avatar

kyleduo/SwitchButton

0
View on GitHub↗
4,746 stars·865 forks·Java·2 vues

SwitchButton

SwitchButton est un widget de bouton à bascule personnalisable pour créer des interrupteurs animés avec des étiquettes et des couleurs configurables. Il sert d'entrée de formulaire interactive qui permet aux utilisateurs de basculer entre deux options opposées en utilisant un composant piloté par état.

Le widget est conçu pour être sensible aux gestes, capturant les mouvements de balayage horizontaux pour déclencher des changements d'état tout en permettant aux événements de défilement vertical de passer au conteneur parent.

Le composant prend en charge la définition de couleurs, de dimensions et de rayons de coin personnalisés pour le bouton et la piste d'arrière-plan. Il inclut des capacités pour gérer les états de bascule, configurer le texte de l'étiquette et ajuster les vitesses d'animation.

Features

  • Toggle Switches - Provides a customizable toggle switch widget for binary state selection.
  • UI State Toggles - Manages the transition between checked and unchecked visual states programmatically or via interaction.
  • Toggle Switches - Offers detailed styling options for colors, dimensions, and corner radii of the toggle components.
  • Gesture-Based UI Components - Provides a UI component that reacts to horizontal gesture coordinates to drive its visual state.
  • Gesture Interference Prevention - Prevents default page scrolling while the user is performing a horizontal swipe to toggle the switch.
  • Switch Widgets - A reusable, styled switch widget for binary boolean input.
  • Swipe-to-Scroll Handlers - Handles touch events to distinguish between horizontal toggling swipes and vertical page scrolling.
  • State-Driven Animations - Uses interpolation to animate position and color changes based on the binary toggle state.
  • Component Style Mappings - Translates configuration properties into visual styles for the switch thumb and background track.
  • Percentage-Based Position Calculators - Calculates the horizontal position of the toggle thumb as a percentage of the container width.
  • Custom Widget Implementation - Implements custom layout and rendering logic for a specialized animated toggle switch.
  • Mobile UI Styling - Implements a modern, gesture-responsive mobile design for toggle switches.
  • Styling Property Mappings - Associates configuration parameters with specific visual styling properties for the toggle widget.
  • Widgets and Controls - Customizable switch button with Material styling.

Historique des stars

Graphique de l'historique des stars pour kyleduo/switchbuttonGraphique de l'historique des stars pour kyleduo/switchbutton

Recherche par IA

Explorez plus de dépôts awesome

Décrivez vos besoins en langage naturel — l'IA classe des milliers de projets open source sélectionnés par pertinence.

Start searching with AI

Alternatives open source à SwitchButton

Projets open source similaires, classés selon le nombre de fonctionnalités partagées avec SwitchButton.
  • xinthink/react-native-material-kitAvatar de xinthink

    xinthink/react-native-material-kit

    4,821Voir sur 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
    Voir sur GitHub↗4,821
  • ohif/viewersAvatar de OHIF

    OHIF/Viewers

    4,035Voir sur GitHub↗

    Viewers is a zero-footprint DICOMweb medical imaging viewer and a modular plugin framework. It serves as a diagnostic interface for rendering 2D and 3D medical images, providing a web-based clinical workflow engine to automate image layouts and toolsets. The project distinguishes itself through a highly extensible architecture that allows for the development of custom clinical workflows, specialized viewing modes, and the integration of external functional extensions. It includes a dedicated command line interface for managing these plugins and supports white-labeling through a comprehensive

    TypeScriptcancer-imaging-researchdicomdicom-viewer
    Voir sur GitHub↗4,035
  • bttstrp/bootstrap-switchAvatar de Bttstrp

    Bttstrp/bootstrap-switch

    5,041Voir sur GitHub↗

    Bootstrap-switch is a jQuery plugin that transforms standard HTML checkboxes and radio buttons into visual toggle switches. It serves as a form input switch that provides a sliding toggle interaction as a replacement for traditional binary input elements. This component is designed specifically for Bootstrap interfaces, allowing for the customization of web pages that follow the Bootstrap CSS framework design system. It enhances web forms by converting basic input elements into interactive switches to improve the visual clarity of binary settings and preferences.

    Pugbootstrapbootstrap-switchcheckbox
    Voir sur GitHub↗5,041
  • metafizzy/flickityAvatar de metafizzy

    metafizzy/flickity

    7,576Voir sur GitHub↗

    Flickity is a JavaScript library used to create responsive, touch-enabled content carousels and sliders for web pages. It provides a system for building flickable galleries that allow users to navigate through collections of elements using touch or mouse input. The library specializes in performance and movement, featuring lazy-loading for images that defers loading off-screen content until it enters the viewport. It supports infinite scrolling loops that wrap back to the first cell after the last is reached, as well as automated slide transitions for slideshow experiences. The toolset inclu

    JavaScript
    Voir sur GitHub↗7,576
Voir les 30 alternatives à SwitchButton→

Questions fréquentes

Que fait kyleduo/switchbutton ?

SwitchButton est un widget de bouton à bascule personnalisable pour créer des interrupteurs animés avec des étiquettes et des couleurs configurables. Il sert d'entrée de formulaire interactive qui permet aux utilisateurs de basculer entre deux options opposées en utilisant un composant piloté par état.

Quelles sont les fonctionnalités principales de kyleduo/switchbutton ?

Les fonctionnalités principales de kyleduo/switchbutton sont : Toggle Switches, UI State Toggles, Gesture-Based UI Components, Gesture Interference Prevention, Switch Widgets, Swipe-to-Scroll Handlers, State-Driven Animations, Component Style Mappings.

Quelles sont les alternatives open-source à kyleduo/switchbutton ?

Les alternatives open-source à kyleduo/switchbutton incluent : 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… ohif/viewers — Viewers is a zero-footprint DICOMweb medical imaging viewer and a modular plugin framework. It serves as a diagnostic… sghall/react-move — React Move is a declarative animation library for React that animates components by interpolating between start and… metafizzy/flickity — Flickity is a JavaScript library used to create responsive, touch-enabled content carousels and sliders for web pages.… pkluz/pkrevealcontroller — PKRevealController is an iOS navigation framework and slide-over UI controller. It functions as a gesture-based… bttstrp/bootstrap-switch — Bootstrap-switch is a jQuery plugin that transforms standard HTML checkboxes and radio buttons into visual toggle…