Components/Duos/Earl & Sip

Earl & Sip

A fussy teapot and a tiny cup who always wants more. One tag brings both of them.

Earl & Sip
<!-- once, anywhere on the page -->
<script src="https://cdn.jsdelivr.net/npm/piixpal@0.4/piixpal.min.js"></script>

<h2>
  …
  <piix-pal pal="earl"></piix-pal>
</h2>
Options
at
where Earl stands, 0–1
poke Earl
pours now
poke Sip
hearts

How it plays

  1. Earl hums, tilts and pours a real stream of tea.
  2. Sip fills up and steams.
  3. Full cups hiccup.
  4. Sip slowly drinks it all, and Earl pours again.

It loops with a little randomness, never blocks a click, and stands still for people who prefer less motion. Put the tag inside the element they should live on, or point at one with on="selector".