Section
Read-only PHP for this component, with a live preview.
PHP example
Read-only builder code generated from the Section class and its catalog defaults. Copy it into your own application.
SectionExample.php
<?php
use Streams\Ui\Builders\Containers\Section;
$section = Section::make('preview-section')
->heading('Profile')
->description('Sample section from the catalog.')
->components([
TextInput::make('name')
->label('Name')
->placeholder('Ada Lovelace'),
]);
Preview
Profile
Sample section from the catalog.