<div class="text-center px-3 py-5">
<i class="bi bi-calendar-x fs-1 text-body-secondary" aria-hidden="true"></i>
<h3 class="h6 mt-3 mb-1">No visits booked this week</h3>
<p class="small text-body-secondary mb-3">The next one is on Tuesday, October 13.</p>
<a class="btn btn-sm btn-outline-secondary" href="schedule.html">Open the calendar</a>
</div>
First use
Nothing has been made yet. A picture, a line on what goes here, and one
clear way to start. The second button fills the space with samples, so
the reader can look around first.
Illustrated
No products yet
Add the clothing and accessories you sell. Customers see them in the
store as soon as you publish.
<!-- data-basalt-empty-animate plays the check once, when it scrolls into view -->
<div class="basalt-empty basalt-empty-framed basalt-empty-success" data-basalt-empty-animate>
<div class="basalt-empty-art"><svg class="basalt-illo basalt-illo-celebrate" …></svg></div>
<h3 class="basalt-empty-title">Every order is packed</h3>
<p class="basalt-empty-text">Nothing left to ship on Friday.</p>
<p class="basalt-empty-hint">Last one packed at 3:42 pm by Jacob Vance</p>
</div>
No access
The reader reached something they can’t open. Say who can let them in,
and let them ask from here. The button goes from sending to sent, and
the request can be taken back.
Illustrated
Payroll is for admins only
Ask Sharon Oakley or another admin to let you in, or to share the report
you need.
Show code
<div class="basalt-empty basalt-empty-framed basalt-empty-warning">
<div class="basalt-empty-art">…</div>
<h3 class="basalt-empty-title">Payroll is for admins only</h3>
<p class="basalt-empty-text">Ask Sharon Oakley or another admin to let you in.</p>
<div class="basalt-empty-actions">
<button type="button" class="btn btn-sm btn-primary">Ask for access</button>
</div>
</div>
Ghost preview
A faint outline of what will appear sits behind the message, so the
reader can see what the space is for before it has anything in it.
Illustrated
No reviews yet
Reviews show up here after a customer’s first visit. You can ask for
one now.
<div class="basalt-empty basalt-empty-framed basalt-empty-as-ghost">
<div class="basalt-empty-ghost" aria-hidden="true">
<span class="basalt-empty-ghost-row"><span></span><span class="w-62"></span><span></span></span>
<!-- three or four rows -->
</div>
<div class="basalt-empty-ghost-msg">
<h3 class="basalt-empty-title">No reviews yet</h3>
<p class="basalt-empty-text">Reviews show up here after a customer’s first visit.</p>
</div>
</div>
Inline
One line for small spaces, like a list group row or under a form label.
A few words and an action, no picture.
Picture beside the words, for wide, short spaces such as a chart row on
a dashboard. A progress bar says how long until there is something to
show. It stacks on a phone.
Layout
Not enough sales to chart yet
Trends show up after two weeks of orders. You’re 5 days in.
<div class="basalt-empty basalt-empty-framed basalt-empty-split">
<div class="basalt-empty-art basalt-empty-art-wide">…</div>
<div class="basalt-empty-body">
<h3 class="basalt-empty-title">Not enough sales to chart yet</h3>
<p class="basalt-empty-text">Trends show up after two weeks of orders.</p>
<div class="progress" role="progressbar" aria-label="Days of sales so far"
aria-valuemin="0" aria-valuemax="14" aria-valuenow="5">
<div class="progress-bar w-36"></div>
</div>
<div class="basalt-empty-actions">…</div>
</div>
</div>
Error with retry
When loading fails, it tries again by itself after a countdown the
reader can pause or skip. The first retry here fails too, so you can
watch the count move on; the second one works.
Interactive
We couldn’t load your invoices
The billing service didn’t answer in time. Your invoices are safe; this
page just couldn’t reach them.
Follows the browser’s real connection, and the switch fakes a dropped
one. Anything done while offline is counted, and sent when the
connection comes back.
Interactive
You’re offline
New visits will show up here once you’re back. What you change now
is saved on this device.
Nothing waiting to send
Connected. Today’s
visits
#4823 · Care visit, Misty Roach8–10 am
#4822 · Deep clean, Gerald Pratt10–12
#4821 · Dog walk, Dawn Fischer1–3 pm
Show code
<div data-basalt-offline>
<!-- shown while offline -->
<div class="basalt-empty basalt-empty-framed basalt-empty-muted" data-basalt-offline-show>
<div class="basalt-empty-art">…</div>
<h3 class="basalt-empty-title">You’re offline</h3>
<p class="basalt-empty-text">New visits will show up here once you’re back.</p>
<button type="button" class="btn btn-sm btn-outline-secondary" data-basalt-offline-check>Check again</button>
<p class="basalt-empty-hint" aria-live="polite" data-basalt-offline-status></p>
</div>
<!-- shown while online -->
<div data-basalt-offline-hide hidden>…</div>
</div>
No results
A search that comes up empty. The empty state repeats what was searched
for, spots a likely typo, and offers the ways out: widen the filter or
clear the words. It opens on a search with no hits so you can see it
straight away.
Interactive
No garment matches
Sculpted Shoulder BlazerClothing$1,290.00
Draped Column GownClothing$2,150.00
Tiered Organza DressClothing$1,680.00
Leather Trench CoatClothing$3,200.00
Bar LoafersClothing$790.00
Chalk-Stripe SuitClothing$2,450.00
Two-Tone OxfordsAccessories$850.00
Cat-Eye SunglassesAccessories$465.00
Shield SunglassesAccessories$520.00
E-Gift Card, $250Extras$250.00
Aftercare PlanExtras$25/member
Express Delivery PassExtras$15/member
No garment matches “pass”
Express Delivery Pass is in Extras.
Popular:
Show code
<div class="basalt-empty basalt-empty-framed">
<div class="basalt-empty-art"><svg class="basalt-illo" …></svg></div>
<h3 class="basalt-empty-title">No garment matches “pass”</h3>
<p class="basalt-empty-text">
Express Delivery Pass is in Extras.
<!-- or: Did you mean <button class="basalt-empty-suggest">Blazer</button>? -->
</p>
<div class="basalt-empty-actions">
<button type="button" class="btn btn-sm btn-primary">Search all categories</button>
<button type="button" class="btn btn-sm btn-outline-secondary">Clear the search</button>
</div>
<p class="basalt-empty-hint">Popular: loafers, blazer</p>
</div>
<!-- Announce the result count in a live region next to the search box -->
<p id="search-count" aria-live="polite">No garment matches</p>
Drop zone
An empty list that is also the way to fill it. Drop a file anywhere on
the panel or choose one, and the panel lights up while a file is held
over it. The sample button runs the import without a file.
Interactive
No products imported yet
Drop your price list here, or choose the file. Columns are matched for
you.
CSV or XLSX, up to 5 MB
Drop to import
price-list.csv
Importing
Sculpted Shoulder Blazer$1,290.00
Leather Trench Coat$3,200.00
Two-Tone Oxfords$850.00
Shield Sunglasses$520.00
Show code
<div class="basalt-empty basalt-empty-framed basalt-empty-drop" data-basalt-drop>
<div class="basalt-empty-art">…</div>
<h3 class="basalt-empty-title">No products imported yet</h3>
<p class="basalt-empty-text">Drop your price list here, or choose the file.</p>
<div class="basalt-empty-actions">
<button type="button" class="btn btn-sm btn-primary" data-basalt-drop-browse>Choose a file</button>
</div>
<input type="file" class="visually-hidden" tabindex="-1" aria-hidden="true" data-basalt-drop-input>
<p class="basalt-empty-overlay" aria-hidden="true">Drop to import</p>
</div>
<script>
// Fired for a dropped or chosen file
zone.addEventListener('basalt:files', (e) => upload(e.detail.files));
</script>
Setup checklist
A first-run page that is also a to-do list. Each step checks off in
place, the ring fills, and the last one swaps the list for a finished
state.
Interactive
Set up Fieldline
1 of 4 done
1Add your company detailsName, address and tax numberDone
2Add a carerOne is enough to start booking visits
3Set your service windowsTwo hours, half a day, or your own
4Book your first visitThe customer gets an SMS with the arrival window
You’re set up.
Your first visit is on the schedule board.