@extends('layouts.vertical', ['pageTitle' => 'Checkbox & Radio']) @section('css') @endsection @section('page-title') @include('layouts.partials/app-pagetitle', ['pageTitle'=> 'Checkbox & Radio', 'pageSubTitle1' => 'Design', 'pageSubTitle2'=> 'Forms', 'pageSubText' => 'Checkboxes and radio buttons form elements with support for custom designs using classes like .form-check and .form-check-input.']) @endsection @section('content')

Checkbox inputs

Add .form-check wrapper to your input and label to create a custom checkbox component. You can add .rounded-circle to the input to make it circular.
Block alignment
Inline alignment

Radio inputs

Add .form-check wrapper to your input and label to create a custom radio component. You can add .rounded to change it to a rounded radio
Block alignment
Inline alignment

Switch radio and checkbox

A switch has the markup of a custom checkbox but uses .form-switch to render a toggle switch. Switches also support the disabled attribute
Switch checkbox
Switch Radio
@endsection @section('scripts') @vite(['resources/scripts/pages/checkboxandradio.js']) @endsection