EmptyState

Zero-data placeholders shown when a list or view has no content yet. Supports link actions, JS click handlers, FAB triggers, and a compact variant for inline panels.

Default Variant

No tasks yet
Get started by adding your first task. Your tasks will appear here.
Add your first task

JS Click Handler

No data loaded
Click below to fetch data from the server.

Compact Variant (for Panels)

No items scheduled
No activity tracked
PHP

PHP PHP Methods (Fluent)

Method / PropertyParametersDescription
$m->emptyState($id)stringCreate an empty state component.
->icon($faIcon)stringSet the large icon displayed above the title.
->title($title)stringSet the heading text.
->message($message)stringSet the descriptive message text.
->action($label, $url, $icon)string, string, ?stringAdd a link-style call-to-action button.
->actionJs($label, $onClick, $icon)string, string, ?stringAdd a button with an onclick JS handler.
->actionFab($label, $fabAction, $icon)string, string, ?stringAdd a FAB-trigger button.
->compact()Use reduced padding for inline/panel usage.
->bordered()Add a dashed border and background tint.