Skip to content

Text input

Read-only PHP for this component, with a live preview.

UI reference

PHP example

Read-only builder code generated from the Text input class and its catalog defaults. Copy it into your own application.

TextInputExample.php
<?php

use Streams\Ui\Builders\Inputs\TextInput;

$textInput = TextInput::make('title')
    ->label('Title')
    ->placeholder('Enter a title');

Preview