Skip to content

Image column

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

UI reference

PHP example

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

ImageColumnExample.php
<?php

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

$imageColumn = ImageColumn::make('avatar')
    ->label('Avatar')
    ->value('Avatar');

Preview

Image Column