Skip to content

Switch

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

Installation

shell
php artisan ui:add switch

Usage

vue
<template>
  <Switch />
</template>

<script setup lang="ts">
import { Switch } from '@/Components/Switch'
</script>

Examples

Default

Control