Skip to the page
Tactile UI

Referral card

The whole invite loop on one card: the invite link with a Copy key and a Share key, an email field that turns each address into a chip, a Send key that locks while it sends, three counters, a five-step bar toward a reward and the friends invited, newest on top.

On this page
  1. Anatomy
  2. Variants
  3. States
  4. Props and options
  5. Usage notes
  6. Accessibility
  7. Related parts

Anatomy

Every piece is a kit part as shipped. The card is the kit’s panel face, so every finish and the Quiet volume draw it.

Variants

  • At rest
  • No invites yet
  • After a send
  • Reward unlocked

States

  • At rest
  • After a send
  • Unlocked

Props and options

NameKindDescription
markSignedUp(email)methodSteps a friend from Invited to Signed up; the counters, Earned and the bar follow.
Send inviteskeyThe kit’s commit key: it locks while sending and the line under it says “Sent 1 invite” or “Sent 3 invites”.

Usage notes

Type an address and press Enter to make a chip, then press Send invites. Each invited friend signs up a moment later; the fifth one unlocks the reward.

Accessibility

  • Keyboard: Tab goes through the link, Copy, Share, the email field and Send; Enter or a comma makes a chip, Backspace takes the last one away, arrows move along the chips.
  • A polite live region says “Invite sent to name@example.com” and “Reward unlocked”, each once and never when the card first loads. The chips and the Send key keep their own announcements.
  • The bar is a native meter with a value text (“3 of 5 friends signed up”), and the state is also in words, not only the lamp: “2 more to unlock”, “Reward unlocked”. Each friend’s state is a word beside its lamp.
  • The Send key keeps focus while it sends (aria-busy), so a second press does nothing.
  • Reduced motion: the counters are set at once, the bar jumps and a new friend appears without sliding.

QR code

A QR code drawn as ink on the panel face, the value printed under it in mono and a key that copies it. Four modules of quiet zone are kept round the code, so a phone camera can find it.

Tag input

A text input that turns what you type into printed tags. Enter or a comma sets one down in the well; each tag is a key that takes itself away, and every change is spoken.

Commit key

A key for work that takes time and must not run twice. It latches below the plate while the work runs, an LED matrix in its face scanning amber, and says how it ended.

Meter

A value inside a known range, read off an LED strip. The strip is a native meter element, so low, high and optimum are the browser’s own: the whole lit length takes the colour of where the value stands (green in the good region, amber next to it, red beyond), not the colour of the segment it has reached. The marks under the strip print where the regions begin, and cut lines across it show the same two places. Words say the state too.

Copy key

A key that copies a value and says so. Its lamp sits dark in the cap; when the text is on the clipboard the lamp lights, winks once, and the legend says Copied before it goes back to Copy. If the browser refuses the clipboard, the text is selected for the keyboard and the lamp lights amber.

List

Rows in a rack: a mark, a title, a second line and a fact or a key at the end. Chosen rows sink into a recess with their check key latched; in a running order, a row lifts out of the rack on its skirt and slides past the others, from the keyboard or by its grip.