unslopkit

Components / Empty states

Empty panel in a widget

A dashboard card whose body is a bordered empty box: a muted icon, a title, one line, and the action, all centered.

Expenses

No expenses this week

Snap a receipt on site and it lands here, matched to the job.

Drawn in your kit, Plain.Change the look

The code

Plain HTML and CSS on your kit's variables. Put it next to tokens/variables.css from your kit's files and it draws in your look.

<div class="ukc-empty-tabler-empty-bordered">
<section class="cardx">
  <header class="ch"><h3>Expenses</h3><button class="sel" type="button">This week <svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M6 9l6 6 6-6"/></svg></button></header>
  <div class="body">
    <div class="emp">
      <span class="ei"><svg width="48" height="48" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M6 3h12v18l-2-1.5-2 1.5-2-1.5-2 1.5-2-1.5L6 21z"/><path d="M9 8h6M9 12h6M9 16h3"/></svg></span>
      <p class="et">No expenses this week</p>
      <p class="es">Snap a receipt on site and it lands here, matched to the job.</p>
      <div class="ea"><button class="btn" type="button"><svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M12 5v14M5 12h14"/></svg> Add an expense</button></div>
    </div>
  </div>
</section>
</div>

More empty states

All 24
  • No overdue invoices

    Every invoice sent in October has been paid. The next batch goes out on 1 November.

    Big zero

  • Loaves sold

    Week of 23 November

    No sales recorded this weekThe till has been offline since Monday. Sales show up here once it syncs.

    See last week

    Empty chart with axes

  • Deliveries, week of 9 March
    OrderForWindow
    Monday 2
    Peony armfulDunmore Hotel8 to 9 AM
    Sympathy wreathR. Castellan1 to 2 PM
    Tuesday 0
    No deliveries on Tuesday. Add one
    Wednesday 1
    Twelve table posiesCafe Lune7 to 8 AM

    Quiet empty row

  • Side A is blank

    Nothing has been recorded for the Marlow sessions yet. Arm a track and roll, or bring in stems from another studio.

    Blank cassette

  • The fridge is bare

    Nothing is on the shopping list for Flat 3B. One lemon will not make dinner.

    Or write your own list

    Empty fridge

  • Your basket is empty

    Orders placed before 2 PM leave the nursery the same day.

    Browse spring plants

    Saved for later 2

    • Hart's tongue fern1 litre pot, in stock£8.50
    • Japanese anemone, white2 litre pot, 3 left£11.00

    Empty basket with saved items