@extends('layouts.vertical', ['pageTitle' => 'Button Group']) @section('css') @endsection @section('page-title') @include('layouts.partials/app-pagetitle', ['pageTitle'=> 'Button Group', 'pageSubTitle1' => 'Design', 'pageSubTitle2'=> 'UI Components', 'pageSubText' => 'Group a series of buttons together on a single line or stack them in a vertical column.']) @endsection @section('content')
The .btn styles can be applied to other elements, such as <label>s, to
provide
checkbox or radio style button toggling. Add data-bs-toggle="buttons" to a
.btn-group
containing those modified buttons to enable their toggling behavior via JavaScript.
.btn-group-* to each .btn-group, including each one when nesting
multiple groups.
.btn-group within another .btn-group when you want
dropdown
menus mixed with a series of buttons.
.btn-group-vertical. Split button dropdowns are not supported
here.
.button styles can be applied to other elements, such as
s, to provide checkbox or radio style button toggling. Add
data-toggle="buttons" to a .btn-group containing those modified
buttons to enable their toggling behavior via JavaScript and add
.btn-group-toggle
to style the inputs within your buttons. Note that you can create
single
input-powered buttons or groups of them.
click
event on the button. If you use another method to update the input—e.g., with
input type="reset" or by manually applying the input’s checked
property—you’ll need to toggle .active on the label manually.