Skip to content

Datetime input

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

UI reference

PHP example

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

DatetimeInputExample.php
<?php

use Streams\Ui\Builders\Inputs\DatetimeInput;

$datetimeInput = DatetimeInput::make('published_at')
    ->label('Published at');

Preview