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

icon() html()

An icon with an optional title and text: icon($class, $title, $text, $class) or one array.

html()->icon()

Опції

ОпціяЗначення
$icon, $title, $textIcon class; title; text after it (escaped).
array formicon(['icon', 'title', 'text', 'style']).

Приклад

 Ships today Ukraine

Код

return html()->icon('fa fa-lock') . html()->icon('fa fa-truck', 'Shipping', 'Ships today') . html()->icon(['icon' => 'bfh-flag-UA', 'title' => 'Ukraine']);

Див. також: html/a, html/country