Skip to content

Table

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

UI reference

PHP example

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

TableExample.php
<?php

use Streams\Ui\Builders\Tables\Table;

$table = Table::make($this, 'people')
    ->heading('People')
    ->columns([
        TextColumn::make('name')
            ->label('Name')
            ->value('Ada Lovelace'),
    ])
    ->paginated(false);

Preview

People

Name
Ada Lovelace