Loading source
Pulling the file list, source metadata, and syntax-aware rendering for this listing.
Source from repo
Reference for Nuxt UI v4 (125+ components built on Reka UI + Tailwind CSS v4) including forms, overlays, and theming.
Files
Skill
Size
Entrypoint
Format
Open file
Syntax-highlighted preview of this file as included in the skill package.
components/switch.md
1# Switch23A control that toggles between two states.45> Based on [Reka UI Switch](https://reka-ui.com/docs/components/switch)67## Key Props89- `label`: to set the label of the Switch.10- `description`: to set the description of the Switch.11- `loading`: to show a loading icon on the Switch.12- `color`: to change the color of the Switch.13- `size`: to change the size of the Switch.14- `disabled`: to disable the Switch.1516## Usage1718```vue19<USwitch20<!-- props here -->21/>22```23