Module Solidtype_kobalte.Switch

module Control : sig ... end

The element that visually represents a switch.

module Description : sig ... end

The description that gives the user more information on the switch.

module ErrorMessage : sig ... end

The error message that gives the user information about how to fix a validation error on the switch.

module Input : sig ... end

The native html input that is visually hidden in the switch.

module Label : sig ... end

The label that gives the user information on the switch.

module Root : sig ... end

A control that allows users to choose one of two values: on or off.

module Thumb : sig ... end

The thumb that is used to visually indicate whether the switch is on or off.

val use_switch_context : unit -> Types.SwitchContextValue.t