Skip to content
Component passports token-kit

Tooltip

Tooltip — a few words about a control, shown on hover and on focus. Use for: the name of an icon-only button, or a short supplement to a control that already says what it does. Don't use for: anything

Evidence

What the kit's own checks measured on this component, from their committed records. A result is what was found, not a certificate.

CheckWhat it measuresResultWhen
Contrastevery text and boundary pair labelled with its elements, in every pack, surface and density the fixture holds28 pairs, 0 failed; closest 12.34:1 for tooltip/text (bathing-bagels / default / default), needs 4.5:12026-11-27
Controlsevery prop reachable from a story's controls3 stories opened; none flagged2026-11-28
Radiuscorner radii from the kit's scale only3 stories opened; none flagged2026-11-28
Attributesonly valid data-tk attributes and values3 stories opened; none flagged2026-11-28
Titleseach story has a heading and a title3 stories opened; none flagged2026-11-28
Accessibility (axe)axe-core on each story, at desktop and phone width3 stories opened; none flagged2026-11-28
Reflow at 320pxeach story at 320px wide: no sideways scroll3 stories opened; none flagged2026-11-28
Forced colourseach story in Windows high contrast3 stories opened; none flagged2026-11-28
Reduced motioneach story with reduced motion: nothing keeps moving3 stories opened; none flagged2026-11-28
Events (what it reports)each event its contract declares, triggered and checked; nothing undeclared, no vendor called3 stories opened; none flagged2026-11-28
Right to lefteach story set right to left: nothing pushed off the page3 stories opened; none flagged2026-11-28
Text 40% longerevery text made about 40% longer: no words cut, no sideways scroll3 stories opened; none flagged2026-11-28
Design matches codethe Figma component laid over the rendered code, per skinTooltip: mean Δ 6.71, worst 6.71 over 1 skin2026-10-19
Figmawhere it is drawn in the Figma library1 component in the library; Code Connect linked; 2 Figma properties paired or decided
Tokensthe tk slots its CSS readsreads 10 tk slots

Not checked yet

Props

PropTypeRequiredIn Figma
contenttextyesTooltip.Content
childrencontentyesnot drawn
labelsbooleannonot drawn
placementabove | belownoTooltip.Placement
openbooleannonot drawn

Tokens it reads

duration-fast, ease-standard, leading-snug, radius-md, size-sm, space-2, space-3, surface-inverse, text-inverse, weight-normal