Components
Empty state
What a list shows before it has anything in it. It teaches.
No loops yet
A loop re-runs a session on a schedule and re-checks what it found last time, so you only see what changed.
<div class="empty">
<div class="empty-inner">
<div class="empty-icon"><svg>…</svg></div>
<div>
<p class="empty-title">No loops yet</p>
<p class="empty-description">A loop re-runs a session on a schedule, so you only see what changed.</p>
</div>
<div class="empty-action"><button class="btn btn-outline">Create a loop</button></div>
</div>
</div>
| Part | Value |
|---|---|
.empty |
Centred in the pane, at least 60% of the viewport tall |
.empty-inner |
Left-aligned in a 384px column, 12px gaps |
.empty-icon |
A 48px muted tile with a 10px radius and a 20px muted icon |
.empty-title |
16px medium |
.empty-description |
14px muted, one or two sentences |
The description says what the thing is, why you'd want one, and how to make the first one. For no search results, say what to try: "Check the spelling, or clear the search to see the whole list." For a load error, the title is "Couldn't load [things]" and the description is the reason.