Useless Checkbox with React and GSAP

Useless Checkbox with React and GSAP

A demonstration of the powerful React and GSAP integration: logic based on random limits determines the animation path and the dynamic alteration of SVG elements upon checkbox interaction.

React Checkbox and Radio Button Component

React Checkbox and Radio Button Component

A practical demo of creating a versatile component that can operate in two modes: “checkbox” and “radio button,” controlled by a single parameter. The implementation features dynamic SVG animation and state management via simple logic for adding or removing items from an array.

React Checkbox Multi-Select

React Checkbox Multi-Select

This demo showcases the creation of a custom checkbox-based multi-select dropdown using the Selectly library in React. It illustrates how to manage the selected options state and display the chosen values within the dropdown trigger.

See the Pen React Checkbox Multi-Select.

React Checkboxes with Animations

React Checkboxes with Animations

This demo shows how to create a versatile checkbox component in React using class components and React Transition Group for smooth animations. The component supports multiple types (check, cross, filled circle), custom colors, backgrounds, and label positions, making it highly flexible and reusable.

React Custom Checkbox

React Custom Checkbox

This demo illustrates how to create a custom checkbox component using React and SCSS. It hides the native input element and uses the :checked + label CSS selector to control the visual state, allowing for the use of custom icons or images.

See the Pen React Custom Checkbox.

React Material Design Checkbox

React Material Design Checkbox

This example features a versatile and highly customizable React checkbox component. Its technical highlights include using CSS variables for dynamic styling, SVG for high-quality icon rendering, and built-in support for RTL layout for multilingual interfaces.

See the Pen React Material Design Checkbox.

React Simple Checkbox

React Simple Checkbox

This example demonstrates how to create a visually striking checkbox using a combination of React and CSS variables for dynamic styling. It uses a hidden input and controls its visual state with classes and pseudo-elements, ensuring smooth transitions.

See the Pen React Simple Checkbox.

React Tile Checkboxes

React Tile Checkboxes

This demo shows how to create a stylish and accessible checkbox component using React. Instead of standard UI elements, it uses a custom input and label with full CSS control over :checked and :disabled states.

See the Pen React Tile Checkboxes.

ReactJS Checkbox Component with Custom CSS

ReactJS Checkbox Component with Custom CSS

This example features a custom checkbox component with a focus on extended functionality. The main highlight is the support for an indeterminate state, which is implemented by directly accessing the DOM element (ref) within React lifecycle methods.

Stateful React Checkbox Component

Stateful React Checkbox Component

The demo showcases a modern, minimalist checkbox. Its main features are declarative state management via props (checked, disabled) and visual customization using pure CSS, including the use of Material Icons for the checkmark. This makes the component quick to create and adapt for various needs.