Empty state
The dashed blank slate a list or table shows when there is nothing in it. It renders through the same empty_state seam as a table's, so an app that replaces one gets both.
No invitations yet.
<%= empty_state "No invitations yet." %>With a title, an icon and a way out
title: heads it, icon: is a glyph above that, and the block is the actions that fix it.
<%= empty_state "Import a folder, or drop files anywhere on this page.", title: "No files yet", icon: :folder do %>
<%= button "Import a folder", :primary, href: "#", icon: :plus %>
<%= button "Read the guide", href: "#" %>
<% end %>