All Projects → Twikito → Easy Toggle State

Twikito / Easy Toggle State

Licence: mit
A tiny JavaScript library to easily toggle the state of any HTML element in any contexts, and create UI components in no time.

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Easy Toggle State

Flutter smart select
SmartSelect allows you to easily convert your usual form select or dropdown into dynamic page, popup dialog, or sliding bottom sheet with various choices input such as radio, checkbox, switch, chips, or even custom input. Supports single and multiple choice.
Stars: ✭ 179 (-31.42%)
Mutual labels:  switch, radio, dropdown, checkbox
smart-webcomponents-community
Material & Bootstrap Web Components built with Smart
Stars: ✭ 30 (-88.51%)
Mutual labels:  checkbox, tooltip, tabs
React Icheck
🔘 iCheck components built with React. Highly customizable checkbox, radio buttons and radio group.
Stars: ✭ 175 (-32.95%)
Mutual labels:  switch, radio, checkbox
Semantic Ui
Semantic is a UI component framework based around useful principles from natural language.
Stars: ✭ 49,729 (+18953.26%)
Mutual labels:  ui-components, dropdown, tooltip
Ng Bootstrap
Angular powered Bootstrap
Stars: ✭ 7,872 (+2916.09%)
Mutual labels:  dropdown, tooltip, tabs
Vxe Table
🐬 vxe-table vue 表格解决方案
Stars: ✭ 4,242 (+1525.29%)
Mutual labels:  switch, radio, checkbox
Bootstrap Switch
Turn checkboxes and radio buttons in toggle switches.
Stars: ✭ 5,132 (+1866.28%)
Mutual labels:  switch, radio, checkbox
react-layer-stack
Layering system for React. Useful for popover/modals/tooltip/dnd application
Stars: ✭ 158 (-39.46%)
Mutual labels:  tooltip, dropdown
wui
Collection of GUI widgets for the web
Stars: ✭ 44 (-83.14%)
Mutual labels:  tabs, dropdown
alfred-browser-tabs
🔍 Search browser tabs from Chrome, Brave, Safari, etc..
Stars: ✭ 302 (+15.71%)
Mutual labels:  tabs, switch
simple-switch
Vanilla JS/CSS Switch UI element
Stars: ✭ 18 (-93.1%)
Mutual labels:  checkbox, switch
floating-ui
A low-level toolkit to create floating elements. Tooltips, popovers, dropdowns, and more
Stars: ✭ 23,485 (+8898.08%)
Mutual labels:  tooltip, dropdown
PygameWidgets
A module for use with Pygame. Includes fully customisable buttons, textboxes, sliders and many more, as well as the ability to create and run animations on these widgets.
Stars: ✭ 34 (-86.97%)
Mutual labels:  dropdown, switch
toppy
Overlay library for Angular 7+
Stars: ✭ 81 (-68.97%)
Mutual labels:  tooltip, dropdown
react-popper
🍿⚛Official React library to use Popper, the positioning library
Stars: ✭ 2,415 (+825.29%)
Mutual labels:  tooltips, tooltip
GDCheckbox
Customizable CheckBox / RadioButton component for iOS
Stars: ✭ 23 (-91.19%)
Mutual labels:  checkbox, switch
a11y-accordion-tabs
A script for an accessible accordion tabs component
Stars: ✭ 50 (-80.84%)
Mutual labels:  tabs, ui-components
Mtgdb
Mtgdb.Gui - desktop app to search MTG cards and build decks
Stars: ✭ 46 (-82.38%)
Mutual labels:  tooltips, tabs
SpikeTip
Create effortless tooltips that breathe CSS! No Javascript. Just the good old CSS.
Stars: ✭ 26 (-90.04%)
Mutual labels:  tooltips, tooltip
CCheckbox-iOS
CCheckbox is a custom UIView which represents custom checkbox component with custom images
Stars: ✭ 28 (-89.27%)
Mutual labels:  checkbox, ui-components

Easy Toggle State

A tiny JavaScript library to easily toggle the state of any HTML element in any contexts, and create UI components in no time.

Dropdown, navigation button, tooltip, collapsible panel, lightbox, tabs, switches… UI components made in minutes without worried about JavaScript. Only set a few HTML attributes, and code the rest with your CSS skills.

See some examples in the documentation.

Status

GitHub release (latest by date) npm Cdnjs npm bundle size npm bundle size

David David

Why?

A front-end developer often has to code scripts for interface components. Components such as drop-downs, navigation buttons, tooltips, expandable panels, lightboxes, tabs, etc.

The thing is… Most of these components expose a recurrent behavior: a trigger element toggles the state of one or more target elements. So why not code this behavior once and for all?

So here is a solution: a simple script to toggle the state of a trigger element with a CSS class. You can then associate this element with one or more others: let's call them targets. By adding the right HTML attributes, it can adapt to any contexts and behave like a chosen component.

Only focus on adjusting the rest with your CSS creativity.

Quick start

Several quick start options are available:

Documentation

Easy Toggle State's full documentation is hosted on GitHub Pages at twikito.github.io/easy-toggle-state/.

Contribution

License

MIT. Copyright (c) Matthieu Bué

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].