Home

The ToggleSwitch component provides a visual switch to toggle between two states, like enabled and disabled. It’s commonly used for preferences, settings, and feature controls.

Installation

npm
npx phpxui add Switch

Usage

use Lib\PHPXUI\ToggleSwitch
<ToggleSwitch />