unslopkit

Components / Tooltips and popovers

Field format hint

A tinted hint that hangs under an input while it has focus, with the expected format set in mono.

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-field-hint">
<div class="field show">
  <label for="ukc-tooltip-field-hint-input">Job code</label>
  <div class="wrap">
    <input id="ukc-tooltip-field-hint-input" value="HAL-04" autocomplete="off" spellcheck="false" aria-describedby="ukc-tooltip-field-hint-tip">
    <span class="i"><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></span>
    <div class="tip" role="tooltip" id="ukc-tooltip-field-hint-tip"><p class="f">Format <code>HAL-0000</code></p><p>Four digits after the dash. It is printed top right on every job sheet.</p></div>
  </div>
</div>
</div>

More tooltips and popovers

All 26
  • Mara Reyes2h ago

    @Dana WhitfieldDana WhitfieldElectrician · Crew B At Birch Street until 4 pm Usually replies within an hour 14 jobs with your crew can you check the panel before Friday's inspection?

    User hover card

  • Invoices

    Feature callout

  • Full name on overflow

  • Draft saved 2 min ago

    Before you can send Line items added Client email is missing No due date yet

    Why it is disabled

  • View menu with checks

  • Settings popover