Цю сторінку ще не перекладено українською, тому нижче англійська версія.

jumbotron() html()

A large hero box with a heading and a body.

html()->jumbotron($data = [], $extra = [])

Опції

ОпціяЗначення
$data['head', 'body' (HTML)].
class, idClasses; id.

Приклад

My big header

A simple hero unit for calling extra attention to featured content.

Learn more

Код

return html()->jumbotron([
    'head' => 'My big header',
    'body' => '<p>A simple hero unit for calling extra attention to featured content.</p><p><a class="btn btn-primary btn-lg" role="button">Learn more</a></p>',
]);

Bootstrap 3 and 5

Bootstrap 3 jumbotron; Bootstrap 5 has none: a p-5 mb-4 bg-body-tertiary rounded-3 box.

Див. також: html/panel