unslopkit

Components / Tooltips and popovers

Help toggletip

A small info button beside a field label that opens a dark panel with a sentence, a link, and one action.

$per hour
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-carbon-toggletip">
<div class="field">
  <div class="lr">
    <label for="ukc-tooltip-carbon-toggletip-rate" id="ukc-tooltip-carbon-toggletip-label">Labour rate</label>
    <div class="tt show">
      <button type="button" class="ib" aria-label="About labour rate" aria-haspopup="dialog" aria-controls="ukc-tooltip-carbon-toggletip-panel"><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"><circle cx="12" cy="12" r="9"/><path d="M12 11v5M12 8h.01"/></svg></button>
      <div class="panel" role="dialog" id="ukc-tooltip-carbon-toggletip-panel" aria-labelledby="ukc-tooltip-carbon-toggletip-label">
        <p>Halden adds this rate to a job sheet each time someone logs an hour. Any job can set its own.</p>
        <div class="acts"><a href="#">How rates work</a><button type="button">Edit default</button></div>
      </div>
    </div>
  </div>
  <div class="in"><span>$</span><input id="ukc-tooltip-carbon-toggletip-rate" value="68.00" inputmode="decimal"><span>per hour</span></div>
</div>
</div>

More tooltips and popovers

All 26
  • Bordered popover with caret

  • Shows above Shows to the right Shows to the left Shows below

    Four placements

  • Hours logged189 hWeek 46
    1. Monday31 hours
    2. Tuesday38 hours
    3. Wednesday27 hours
    4. Thursday42 hours
    5. Friday35 hours
    6. Saturday12 hours
    7. Sunday4 hours

    Chart value tips

  • Crew

    • Mara Reyes · Site lead
    • Dana Whitfield · Electrician
    • Joel Okafor · Carpenter
    • Kim Tran · Apprentice
    • Ana SilvaTom BeckerLee Park

    Avatar name tips

  • Thursday 14 Nov

    Popover with header

  • Replaced two joists under the bathroom floor. Photos of the rot are in the Alder Lane folder, and the client has seen them.

    Toolbar with shortcuts