Skip to content

Textarea input

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

UI reference

PHP example

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

TextareaInputExample.php
<?php

use Streams\Ui\Builders\Inputs\TextareaInput;

$textareaInput = TextareaInput::make('body')
    ->label('Body')
    ->placeholder('Write the body')
    ->rows(4);

Preview