Crate radix_leptos_switch

Crate radix_leptos_switch 

Source
Expand description

Leptos port of Radix Switch.

A control that allows the user to toggle between checked and not checked.

See the Rust Radix book for more documentation.

See @radix-ui/react-switch for the original package.

Structs§

SwitchProps
Props for the Switch component.
SwitchThumbProps
Props for the SwitchThumb component.

Functions§

Switch
Required Props
SwitchThumb
Required Props