@solid-aria/toggle
TypeScript icon, indicating that this package has built-in type declarations

0.1.3 • Public • Published

Solid Aria - Toggle

@solid-aria/toggle

pnpm turborepo size version stage

Primitives for building toggle components like checkboxes and switches.

Installation

npm install @solid-aria/toggle
# or
yarn add @solid-aria/toggle
# or
pnpm add @solid-aria/toggle

createToggleState

Provides state management for toggle components like checkboxes and switches.

How to use it

See the docs of createCheckbox for an example of createToggleState.

createToggle

Handles interactions for toggle elements, e.g. Checkboxes and Switches.

How to use it

See the docs of createCheckbox for an example of createToggle.

Changelog

All notable changes are described in the CHANGELOG.md file.

Package Sidebar

Install

npm i @solid-aria/toggle

Weekly Downloads

56

Version

0.1.3

License

MIT

Unpacked Size

13.2 kB

Total Files

6

Last publish

Collaborators

  • fabienml
  • davedbase