@extends('layouts.master') @section('title') @lang('translation.Basic_Elements') @endsection @section('content') @component('common-components.breadcrumb') @slot('pagetitle') Forms @endslot @slot('title') Basic Elements @endslot @endcomponent

Textual inputs

Here are examples of .form-control applied to each textual HTML5 <input> type.

Form layouts

Form groups
Horizontal form
Floating labels
Inline forms layout
@
Inline forms layout

Sizing

Set heights using classes like .form-control-sm and .form-control-lg.

Checkboxes

Form Checkboxes
Form Checkboxes Right

Radios

Form Radios
Form Radios Right

Switches

A switch has the markup of a custom checkbox but uses the .custom-switch class to render a toggle switch. Switches also support the disabled attribute.

Switch examples
Switch sizes
@endsection