Triggers Blocks Layouts Fields Menu Items
Table Masonry Grid Horizontal

IconText / Horizontal

This is a quick and easy card that is more useful in Select Custom labels than in Queries TBH.

It accepts a text and an icon. To style the wrapper, use the class key.

public $layout = 'Horizontal';

public function card($item)
   return IconText::form([
      'text' => $item->text,
      'icon' => $item->icon,
      'class' => 'border border-gray-600 shadow mb-3'

Preview with layouts: