unslopkit

Components / Empty states

Empty chart with axes

A chart with no data keeps its axes, scale and a faint ghost line, so the card holds its shape and people can see what will be drawn there.

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

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-chart-axes">
<section class="ch" aria-labelledby="ukc-empty-chart-axes-h">
  <header>
    <div><h3 id="ukc-empty-chart-axes-h">Loaves sold</h3><p>Week of 23 November</p></div>
    <div class="seg" role="group" aria-label="Range"><button type="button" aria-pressed="true">Week</button><button type="button" aria-pressed="false">Month</button><button type="button" aria-pressed="false">Year</button></div>
  </header>
  <div class="plot">
    <ol class="y" aria-hidden="true"><li>300</li><li>200</li><li>100</li><li>0</li></ol>
    <div class="area" role="img" aria-label="Empty chart, no sales recorded this week"><svg viewBox="0 0 100 40" preserveAspectRatio="none" aria-hidden="true"><path d="M0 30L16.6 22 33.3 26 50 14 66.6 18 83.3 8 100 12" vector-effect="non-scaling-stroke"/></svg></div>
    <div class="msg"><strong>No sales recorded this week</strong><span>The till has been offline since Monday. Sales show up here once it syncs.</span><p><button type="button">Check the till</button><a href="#">See last week</a></p></div>
    <ol class="x" aria-hidden="true"><li>Mon</li><li>Tue</li><li>Wed</li><li>Thu</li><li>Fri</li><li>Sat</li><li>Sun</li></ol>
  </div>
</section>
</div>

More empty states

All 24
  • 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

  • 0of 48 shipments shown

    Three filters together leave nothing

    • StatusHeld at customs3 alone
    • CarrierBaltrans11 alone
    • ArrivingThis week19 alone

    Nothing held at customs is with Baltrans. Drop either one and 2 shipments come back.

    Keep this view and watch it

    Filtered to nothing

  • Thursday 12 March

    Dr. Okafor, room 2

    Nothing booked this morning.

    Four hours are open. Offer them to the waiting list

    Open day agenda