Ten components, five sets of one badge and one tooltip. Open a set to try its moving prototypes, then see how they got there.
Every set uses the same two anchors: a Message icon for the badge and a Notification bell for the tooltip. Holding the icons still is the control: whatever differs between the five tones comes from motion and styling alone. The shapes stay fixed; only how they are rendered (stroke, colour, texture) follows the tone.
Left, the badge anchor: a speech bubble, tail at the lower left, so the upper right corner stays clear for the badge. Right, the tooltip anchor: an upright bell, a silhouette that never reads as the bubble.
Brief
Ten components: five sets, each one badge and one tooltip, each set expressing a tone. Tones can repeat across sets. Every design has to do its job. Each one gets a working prototype, with the versions tried along the way shown as its process.
Both need an anchor, a placeholder element to attach to. The brief's badges sit on a bottom bar (Mail, Chat, Rooms, Meet). Its tooltips float free, but a prototype needs something to hover, so every tooltip here gets an anchor too.
What each prototype has to show
Anchor
Must show
Badge
An icon, like Mail, where the badge appears and disappears
No badge ↔ dot badge, with no content No badge ↔ badge with content: a number, text or icon
Tooltip
A hoverable anchor
A plain tooltip: text only, no action A rich tooltip with a clickable action
Five sets, one badge and one tooltip each, every set with a tone. Tones can repeat across sets.
Research
Both are small messages attached to something else. The difference is who starts the conversation.
Badge or tooltip
Badge
Speaks
Unprompted, always visible
Says
Status or amount: new, how many, live
Sits
On the anchor's corner, never over its centre
Must
Hide at zero, cap big numbers
Screen reader
Folded into the anchor's name: “Mail, 3 unread”
Tooltip
Speaks
Only when the anchor is hovered or focused
Says
What the anchor is, or what it will do
Sits
Beside the anchor, never covering it
Must
Show on keyboard focus too, dismiss with Esc
Screen reader
role="tooltip", linked with aria-describedby
Rules the tone has to survive
Claim only what is known
A dot says “new”, a count says “how many”. Pick the one the system can back up.
Stay smaller than the anchor
Overflow caps at 99+, so the badge never swallows the icon.
Never colour alone
A badge needs a number, a word or a shape, not only red.
Dismissible, hoverable, persistent
WCAG 1.4.13: Esc closes it, the pointer can move onto it, it stays until you leave.
Supplementary, not essential
If the task fails without the tooltip, the text belongs on the page.
Wait a beat
A short hover delay stops tooltips flashing as the pointer passes. Only a pointer that rests gets one.
Pattern survey
The brief's bottom bar with live badges, four badge forms, and four tooltips. Change the count and the delay, then hover or tab through the anchors.
Live demo. Interact with it here or view it larger.
Micro motion
A badge is about 16 pixels and a tooltip is a few words, so neither has much room to carry a tone. How it moves is one of the few places left. Dan Saffer's four parts of a microinteraction map neatly onto both.
Triggerwhat starts it
Ruleswhat it may do
Feedbackwhat you see
Loops and modeswhat happens next
Badge
The system: a message arrives
Hide at 0, cap at 99+, clear when opened
Arriving, and changing count
Does it move again, or rest once it has spoken?
Tooltip
The person: hover or keyboard focus
Wait before showing, stay while hovered, Esc closes
Entering, and leaving
Warm mode: once one is open, neighbours open faster
Timing
Every duration on one scale. The shaded end is where motion starts to drag.
Motionpast 500 ms it drags
Small feedback, a state changeNN/gabout 100 ms
A small component enteringMaterial 3, short4200 ms
LeavingNN/gshorter than entering
Tooltip wait
First hoverWindows default500 ms
Next anchor overWindows default100 ms
0 ms100200300400500600
Table view
Moment
Duration
Source
Small feedback, a state change
About 100 ms
NN/g
A small component entering
200 ms
Material 3, short4
Leaving
Shorter than the entrance
NN/g
Anything UI
Past 500 ms it starts to drag
NN/g
Tooltip, first hover
500 ms wait
Windows default
Tooltip, next anchor over
100 ms wait
Windows default
Windows also hides a tooltip after 5 seconds by default. WCAG 1.4.13 says the opposite: it should stay until the pointer leaves or Esc is pressed. Here WCAG wins.
Easing
Each curve plots progress against time, and the dot under it runs on that curve.
Ease-incubic-bezier(0.3, 0, 0.8, 0.15) Leaving. Gathers speed and goes.
Overshoot, a spring Entering, with character. Playful, physical, a little loud.
Linear Almost never. Mechanical. Useful only when mechanical is the tone.
Motion costs attention
Motion is the strongest signal a badge has. In Bartram, Ware and Calvert's study, icons with simple motion were often detected better than colour or shape codes, especially at the edge of vision. The same study measured how much each kind of motion distracts. A badge that moves is louder than one that is red, so motion should be spent at the moment of change, then stop.
Move once, then rest
A badge that keeps pulsing turns into noise. Past 5 seconds, looping motion needs a way to stop it (WCAG 2.2.2).
One thing at a time
Several things moving at once cancel each other out.
Reduced motion
With prefers-reduced-motion, swap movement for a fade or a cut (WCAG 2.3.3). The meaning has to survive without the motion.
Where tone lives in the motion
QuietLeverLoud
Short, 100 to 200 msDurationLong enough to watch, up to 500 ms
Ease-out, no overshootCurveSpring, bounce, shake
In place: fade, a few pixelsDistanceTravels: drops in, flies out
Swap in placeCount changeRoll, pulse, shake
OnceRepetitionAgain on every new item
From nowhere, a fadeOriginFrom the anchor, grows out of the thing it describes
Motion study
One badge and one tooltip, changed only in how they move. Each badge card replays on its own, tooltips open on hover, a slow-mo slider stretches everything up to ten times so the curves can be read, and each card notes what it falls back to under reduced motion.
Live demo. Press ▶ on a badge, hover the tooltips, drag slow-mo up.
Into the designs
The anchor is part of the design. A badge has no tone without the thing it sits on.
A badge is about 16 pixels. Tone has to live in its shape, its colour and how it arrives, not in detail.
A tooltip's tone lives in timing, entrance and the voice of its words.
Each set picks its motion on the levers above: duration, curve, distance, count change, repetition and origin. A quiet tone and a loud tone should differ on at least two.
Every prototype also has to work under reduced motion, so the tone cannot live in motion alone.
A set shares a tone, not a shape. The badge and tooltip can share an anchor, or each have their own.
Process
Ideation
Loose sketches, each running live in its box.
TraceA line runs clockwise round the bubble's outline from its upper right corner; where it closes, a dot appears.Frame traceThe bubble stays still while a rounded frame draws itself clockwise round it from its upper right corner; where the frame closes, a dot appears.SpinThe dot spins onto the upper right corner, circling its spot on a tightening ring as it grows.Coin spinThe dot is a thin flat chip: it appears on the upper right corner and turns once in place, narrowing to its rim and opening back to a whole dot.RefreshThe whole icon is written in again, left to right, and the dot at its far right comes in last.ThirdsRefresh in three steps: the icon comes back a third at a time, left, middle, right, and the dot lands with the last.SweepThe dot is revealed clockwise from twelve o'clock, a wedge widening like a clock hand going once round.BookThe dot opens from its centre like a book: two halves folded shut on the centre line swing open to lie flat.SwellThe dot swells from the bubble's middle until it hides the whole icon, then shrinks on its way to the upper right corner.