@shopify/polaris-types do not match docs

s-icon component only has types ‘small’ and ‘base’ - there are meant to be more…

Hey @Richard_Milton -

I checked this and the difference appears to be surface-specific. The page you linked is for Checkout UI Extensions 2026-01, where the matching @shopify/ui-extensions types support all six documented sizes.

@shopify/polaris-types is the companion types package for App Home (the naming of the repo is a little confusing though), where s-icon currently supports only small and base.

Just confirming, are you building an App Home or Checkout UI extension? If it’s Checkout and you’re still seeing an error, could you share the relevant package versions, TypeScript configuration, and exact error? I can take a closer look from there.

Thanks @Alan_G - didn’t realise there were different surfaces hiding in the dropdown. The docs do actually match the behaviour. ChatGPT didn’t figure that out either. Would be good to know why we have so little control over sizing icons in the App Home version.

Hey @Richard_Milton -

Thanks for confirming. I took another look, and both the current App Home docs and @shopify/polaris-types intentionally expose only small and base for s-icon. I couldn’t find a public explanation for why the larger size tokens aren’t available though, so happy to clarify internally and loop back with you. Can’t guarantee anything but I can do my best to advocate here.

Could you share where you’re trying to use the larger icon and roughly what size or treatment you need? I can capture that as product feedback at the very least for sure. Hope to hear from you soon!

Thanks @Alan_G I’ve worked around with CSS so I’ll close this issue. It might come back and bite me if it get’s flagged in an app review. In the meantime - i really appreciate your help trying to sort :+1:

Hey @Richard_Milton - Glad you found a workable path. I couldn’t find any published rule that would make custom CSS an automatic app-review issue. The rendered experience and consistency with the Shopify admin are what matter. That said, since larger sizes aren’t part of the documented App Home s-icon API, I’d treat the override as a workaround that could be affected by future component changes - just wanted to note that.

I’ll capture the feedback around additional icon sizing options and making the surface differences clearer in the docs. If the workaround does get flagged during review, feel free to loop back here and we can take another look. I can’t guarantee any outcomes, but happy to look into things further if needed :slight_smile: