Components
Triggers Blocks Layouts Fields Menu Items
Cards
Table Masonry Grid Horizontal

Masonry / Masonry

public $layout = 'Masonry';

public function card($item)
{
   return Masonry::form([
      'image' => asset($item->image),
      'buttons' => FlexEnd::form(
         Link::icon('far fa-heart')
            ->post('like-post', ['id' => $item->id])
            ->refresh()
      )
   ]);
}

Preview with layouts: