Primitives for building toggle components like checkboxes and switches.
npm install @solid-aria/toggle
# or
yarn add @solid-aria/toggle
# or
pnpm add @solid-aria/toggleProvides state management for toggle components like checkboxes and switches.
See the docs of createCheckbox for an example of createToggleState.
Handles interactions for toggle elements, e.g. Checkboxes and Switches.
See the docs of createCheckbox for an example of createToggle.
All notable changes are described in the CHANGELOG.md file.