Skip to content
Component passports token-kit

Icon

Size is an attribute and the box is a token. This used to be `const SIZE_PX = { sm: 16, md: 20, lg: 24 }` and `width={px} height={px}` — three numbers in TypeScript that a pack could not reach, a root

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 controls5 stories opened; none flagged2026-11-28
Radiuscorner radii from the kit's scale only5 stories opened; none flagged2026-11-28
Attributesonly valid data-tk attributes and values5 stories opened; none flagged2026-11-28
Titleseach story has a heading and a title5 stories opened; none flagged2026-11-28
Accessibility (axe)axe-core on each story, at desktop and phone width5 stories opened; none flagged2026-11-28
Reflow at 320pxeach story at 320px wide: no sideways scroll5 stories opened; none flagged2026-11-28
Forced colourseach story in Windows high contrast5 stories opened; none flagged2026-11-28
Reduced motioneach story with reduced motion: nothing keeps moving5 stories opened; none flagged2026-11-28
Events (what it reports)each event its contract declares, triggered and checked; nothing undeclared, no vendor called5 stories opened; none flagged2026-11-28
Right to lefteach story set right to left: nothing pushed off the page5 stories opened; none flagged2026-11-28
Text 40% longerevery text made about 40% longer: no words cut, no sideways scroll5 stories opened; none flagged2026-11-28
Design matches codethe Figma component laid over the rendered code, per skinIcon: mean Δ 13.29, worst 15.96 over 3 skins2026-10-10
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
nameinfo | success | warning | circle | square | download | target | code | link | map | menu | search | table | video | filter | image | stop | send | alert | grid | navigation | radio | timer | error | close | home | arrowLeft | arrowRight | arrowUp | arrowDown | chevronLeft | chevronRight | chevronUp | chevronDown | chevronsRight | externalLink | cornerDownRight | moveRight | panelLeft | plus | minus | check | copy | trash | edit | upload | share | refresh | undo | redo | save | sliders | settings | sort | maximize | minimize | move | grip | scissors | help | ban | loader | shieldCheck | badgeCheck | flag | bell | bellOff | sparkles | zap | play | pause | skipForward | skipBack | volume | volumeOff | mic | micOff | camera | images | headphones | film | subtitles | fileText | file | files | folder | folderOpen | archive | clipboard | book | bookOpen | newspaper | notebook | printer | paperclip | fileCheck | fileDown | scroll | mail | mailOpen | phone | message | messages | quote | megaphone | atSign | rss | reply | inbox | user | users | userPlus | userCheck | contact | idCard | handshake | smile | heart | star | award | trophy | cart | bag | tag | tags | receipt | creditCard | wallet | percent | package | packageCheck | truck | store | gift | barcode | scan | coins | calendar | calendarDays | calendarCheck | clock | hourglass | history | alarm | mapPin | compass | globe | building | warehouse | factory | plane | train | car | bike | route | briefcase | barChart | lineChart | pieChart | trendingUp | trendingDown | activity | gauge | database | hash | calculator | layers | layoutGrid | layoutList | columns | rows | sidebar | expand | shrink | alignLeft | alignCenter | lock | unlock | key | shield | eye | eyeOff | unlink | bookmark | pin | terminal | cpu | server | wifi | wifiOff | monitor | smartphone | tablet | accessibility | languages | moon | sun | leaf | trees | flame | droplet | cloud | wind | snowflake | mountain | waves | sprout | coffee | utensils | wrench | hammer | paintbrush | palette | ruler | lightbulb | battery | plug | recycle | stethoscope | graduationCap | puzzle | dice | anchoryesIcon.Name
sizesm | md | lgnoIcon.Size
labeltextnonot drawn

Tokens it reads

icon-lg, icon-md, icon-sm, icon-stroke, space-1, status-danger-text, status-info-text, status-success-text, status-warning-text, text-secondary