Skip to content
Component passports token-kit

ResourceDownload

ResourceDownload — a file a reader can take away: a report, a slide deck, a recording. Its title is the link, and under it what the reader is about to get: the format, the size and how long it is. Use

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
Controlsevery prop reachable from a story's controls4 stories opened; none flagged2026-11-28
Radiuscorner radii from the kit's scale only4 stories opened; none flagged2026-11-28
Attributesonly valid data-tk attributes and values4 stories opened; none flagged2026-11-28
Titleseach story has a heading and a title4 stories opened; none flagged2026-11-28
Accessibility (axe)axe-core on each story, at desktop and phone width4 stories opened; none flagged2026-11-28
Reflow at 320pxeach story at 320px wide: no sideways scroll4 stories opened; none flagged2026-11-28
Forced colourseach story in Windows high contrast4 stories opened; none flagged2026-11-28
Reduced motioneach story with reduced motion: nothing keeps moving4 stories opened; none flagged2026-11-28
Events (what it reports)each event its contract declares, triggered and checked; nothing undeclared, no vendor called4 stories opened; none flagged2026-11-28
Right to lefteach story set right to left: nothing pushed off the page4 stories opened; none flagged2026-11-28
Text 40% longerevery text made about 40% longer: no words cut, no sideways scroll4 stories opened; none flagged2026-11-28
Design matches codethe Figma component laid over the rendered code, per skinResourceDownload: mean Δ 4.28, worst 4.28 over 1 skin2026-10-19
Figmawhere it is drawn in the Figma library1 component in the library; Code Connect linked; 10 Figma properties paired or decided
Tokensthe tk slots its CSS readsreads 16 tk slots

Not checked yet

Props

PropTypeRequiredIn Figma
titletextyesResourceDownload.Title
hreftextyesnot drawn
formattextyesResourceDownload.Format
sizetextnoResourceDownload.Size, ResourceDownload.Show size
lengthtextnoResourceDownload.Length, ResourceDownload.Show length
datetextnoResourceDownload.Date, ResourceDownload.Show date
dateLabeltextnonot drawn
descriptiontextnoResourceDownload.Description, ResourceDownload.Show description
downloadbooleannonot drawn
alternativeHreftextnonot drawn
alternativeLabeltextnonot drawn
headingLevel2 | 3 | 4nonot drawn
level2 | 3 | 4nonot drawn
localetextnonot drawn

Tokens it reads

leading-normal, leading-snug, leading-tight, line-default, radius-md, radius-nested, size-md, size-sm, size-xs, space-1, space-2, space-4, surface-sunken, text-secondary, tracking-wide, weight-semibold