unslopkit

Components / Tooltips and popovers

Why it is disabled

A blocked button that stays focusable and explains itself with a short checklist of what is done and what is still missing.

Draft saved 2 min ago

Before you can send Line items added Client email is missing No due date yet
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-tooltip-disabled-reason">
<div class="foot">
  <p class="saved">Draft saved 2 min ago</p>
  <div class="acts">
    <button type="button" class="sec">Save draft</button>
    <span class="dr show">
      <button type="button" class="pri" aria-disabled="true" aria-describedby="ukc-tooltip-disabled-reason-tip">Send invoice</button>
      <span class="tip" role="tooltip" id="ukc-tooltip-disabled-reason-tip">
        <span class="h">Before you can send</span>
        <span class="ok"><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="M5 12.5l4.5 4.5L19 7.5"/></svg> Line items added</span>
        <span class="no"><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 6l12 12M18 6L6 18"/></svg> Client email is missing</span>
        <span class="no"><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 6l12 12M18 6L6 18"/></svg> No due date yet</span>
      </span>
    </span>
  </div>
</div>
</div>

More tooltips and popovers

All 26
  • View menu with checks

  • Settings popover

  • Saturday · Port Arlen to Skerry

    • 06:55MV Kittiwake

      Remove the 06:55 sailing?

      Nobody is booked on it yet.

    • 07:40MV Sandpiper

      Remove the 07:40 sailing?

      14 booked passengers move to the 08:25 and get a text.

    • 08:25MV Kittiwake

      Remove the 08:25 sailing?

      9 booked passengers move to the 09:10 and get a text.

    Confirm popover

  • Chapter 4 · The oil years

    The lamp at Ness Point burned colza oil until 1871,Pressed from rapeseed. It smoked less than whale oil and cost about a third as much.Keeper's log, Ness Point, March 1869 when the keepers changed to paraffin and the weekly ration fell from nine gallons to five.

    Quiet footnote

  • Spike saysFerns sulk in direct sun. Park this one a metre back from the window and mist it on Sundays.

    Boston fern

    14 cm pot · $18 · 6 in the shop

    Speech bubble helper

  • Tall mug$28 · 6 left Bud vase$34 · 3 left Noodle bowl$42 · 2 left
    Autumn firing, ash glaze. Point at a dot for the price.

    Price tag hotspots