unslopkit

Components / Tooltips and popovers

Avatar name tips

Names over an overlapping avatar stack. Tips rise a few pixels as they appear, and the overflow count lists everyone else.

Crew

  • Mara Reyes · Site lead
  • Dana Whitfield · Electrician
  • Joel Okafor · Carpenter
  • Kim Tran · Apprentice
  • Ana SilvaTom BeckerLee Park
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-daisyui-crew">
<div class="crew">
  <p class="k">Crew</p>
  <ul class="stack">
    <li class="who edge"><button type="button" class="av" aria-label="Mara Reyes" aria-describedby="ukc-tooltip-daisyui-crew-mr">MR</button><span class="bubble" role="tooltip" id="ukc-tooltip-daisyui-crew-mr">Mara Reyes · Site lead</span></li>
    <li class="who open"><button type="button" class="av" aria-label="Dana Whitfield" aria-describedby="ukc-tooltip-daisyui-crew-dw">DW</button><span class="bubble" role="tooltip" id="ukc-tooltip-daisyui-crew-dw">Dana Whitfield · Electrician</span></li>
    <li class="who"><button type="button" class="av" aria-label="Joel Okafor" aria-describedby="ukc-tooltip-daisyui-crew-jo">JO</button><span class="bubble" role="tooltip" id="ukc-tooltip-daisyui-crew-jo">Joel Okafor · Carpenter</span></li>
    <li class="who"><button type="button" class="av" aria-label="Kim Tran" aria-describedby="ukc-tooltip-daisyui-crew-kt">KT</button><span class="bubble" role="tooltip" id="ukc-tooltip-daisyui-crew-kt">Kim Tran · Apprentice</span></li>
    <li class="who"><button type="button" class="av more" aria-label="3 more people" aria-describedby="ukc-tooltip-daisyui-crew-more">+3</button><span class="bubble list" role="tooltip" id="ukc-tooltip-daisyui-crew-more"><span>Ana Silva</span><span>Tom Becker</span><span>Lee Park</span></span></li>
  </ul>
  <button type="button" class="add"><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="M12 5v14M5 12h14"/></svg> Assign</button>
</div>
</div>

More tooltips and popovers

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

  • Copy
    Copied

    Copy with confirmation

  • Field format hint

  • 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