Skip to content

Text column

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

UI reference

PHP example

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

TextColumnExample.php
<?php

use Streams\Ui\Builders\Tables\Columns\TextColumn;

$textColumn = TextColumn::make('name')
    ->label('Name')
    ->value('Ada Lovelace');

Preview

Ada Lovelace