Skip to content

Action

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

UI reference

PHP example

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

ActionExample.php
<?php

use Streams\Ui\Builders\Actions\Action;

$action = Action::make('edit')
    ->label('Edit')
    ->url('/docs/ui/actions');

Preview