Documentation

Checkbox extends Component

Checkbox Laravel Blade Component

A checkbox input component that supports single and multiple selections. Features customizable labels, hints, and margin options for enhanced user experience.

Features:

  • Single and multiple checkbox support
  • Customizable labels and hints
  • Margin control for layout flexibility
  • Form validation integration
  • Livewire real-time updates
  • Bulma CSS framework integration
  • Mobile-friendly responsive design
Tags
author

V360

version
1.0.0
since
2024-06-30
example

Table of Contents

$class  : string
$hint  : string|null
$id  : string|null
$label  : string|null
$margin  : mixed
$multiple  : bool
$name  : string
$options  : mixed
$value  : mixed
__construct()  : mixed
Create a new component instance
render()  : View|string
Get the view / contents that represent the component.

Properties

Methods

__construct()

Create a new component instance

public __construct(string $name[, array<string|int, mixed> $options = [] ][, mixed $value = null ][, mixed $label = null ][, string|null $classes = null ][, bool $margin = true ][, string|null $hint = null ]) : mixed
Parameters
$name : string
$options : array<string|int, mixed> = []
$value : mixed = null
$label : mixed = null
$classes : string|null = null
$margin : bool = true
$hint : string|null = null
Return values
mixed

render()

Get the view / contents that represent the component.

public render() : View|string
Return values
View|string

Search results