Documentation

Text extends Component

Text Laravel Blade Component

A text input component with customizable labels, icons, hints, and addons. Features enhanced user experience with optional icons and addons.

Features:

  • Customizable labels and hints
  • Optional icons for better UX
  • Addon support for additional context
  • Form validation integration
  • Livewire real-time updates
  • Bulma CSS framework integration
  • Mobile-friendly responsive design
Tags
author

V360

version
1.0.0
since
2024-07-05
example

Table of Contents

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

Properties

$addon

public string|null $addon = null

$class

public string $class

$hint

public string|null $hint = null

$icon

public string $icon

$label

public string|null $label = null

$name

public string $name

$placeholder

public string|null $placeholder = null

$value

public string|null $value = null

Methods

__construct()

Create a new component instance

public __construct(string $name[, mixed $value = null ][, string|null $id = null ][, mixed $label = null ][, mixed $icon = 'text_fields' ][, string|null $placeholder = null ][, string|null $classes = null ][, string|null $hint = null ][, string|null $addon = null ]) : mixed
Parameters
$name : string
$value : mixed = null
$id : string|null = null
$label : mixed = null
$icon : mixed = 'text_fields'
  • true, false, 'text_fields'
$placeholder : string|null = null
$classes : string|null = null
$hint : string|null = null
$addon : 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