# @shopify/polaris-types do not match docs

**URL:** <https://community.shopify.dev/t/shopify-polaris-types-do-not-match-docs/36478>\
**Category:** Polaris\
**Created:** [July 30, 2026, 3:33pm UTC](https://community.shopify.dev/t/shopify-polaris-types-do-not-match-docs/36478 "2026-07-30T15:33:31Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Richard\_Milton](https://avatars.discourse-cdn.com/v4/letter/r/d2c977/32.png) [@Richard\_Milton](https://community.shopify.dev/u/Richard_Milton)\
**Post date:** [July 30, 2026, 3:33pm UTC](https://community.shopify.dev/t/shopify-polaris-types-do-not-match-docs/36478/1 "2026-07-30T15:33:31Z")

</div>

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

> **[Icon](https://shopify.dev/docs/api/checkout-ui-extensions/2026-01/web-components/media-and-visuals/icon#iconprops-propertydetail-size)**
>
> Configure the following properties on the icon component. | The icon component renders graphic symbols to visually communicate actions, status, and navigation throughout the interface.

---

<div class="post-metadata">

**Author:** ![Alan\_G](https://sea1.discourse-cdn.com/shopifycommunity/user_avatar/community.shopify.dev/alan_g/32/5321_2.png) [@Alan\_G](https://community.shopify.dev/u/Alan_G)\
**Post date:** [July 31, 2026, 7:59pm UTC](https://community.shopify.dev/t/shopify-polaris-types-do-not-match-docs/36478/2 "2026-07-31T19:59:11Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![Richard\_Milton](https://avatars.discourse-cdn.com/v4/letter/r/d2c977/32.png) [@Richard\_Milton](https://community.shopify.dev/u/Richard_Milton)\
**Post date:** [August 1, 2026, 9:51pm UTC](https://community.shopify.dev/t/shopify-polaris-types-do-not-match-docs/36478/3 "2026-08-01T21:51:12Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![Alan\_G](https://sea1.discourse-cdn.com/shopifycommunity/user_avatar/community.shopify.dev/alan_g/32/5321_2.png) [@Alan\_G](https://community.shopify.dev/u/Alan_G)\
**Post date:** [August 5, 2026, 2:02pm UTC](https://community.shopify.dev/t/shopify-polaris-types-do-not-match-docs/36478/4 "2026-08-05T14:02:08Z")

</div>

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!

---

<div class="post-metadata">

**Author:** ![Richard\_Milton](https://avatars.discourse-cdn.com/v4/letter/r/d2c977/32.png) [@Richard\_Milton](https://community.shopify.dev/u/Richard_Milton)\
**Post date:** [August 10, 2026, 8:33pm UTC](https://community.shopify.dev/t/shopify-polaris-types-do-not-match-docs/36478/5 "2026-08-10T20:33:32Z")

</div>

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 👍

---

<div class="post-metadata">

**Author:** ![Alan\_G](https://sea1.discourse-cdn.com/shopifycommunity/user_avatar/community.shopify.dev/alan_g/32/5321_2.png) [@Alan\_G](https://community.shopify.dev/u/Alan_G)\
**Post date:** [August 12, 2026, 3:20pm UTC](https://community.shopify.dev/t/shopify-polaris-types-do-not-match-docs/36478/6 "2026-08-12T15:20:48Z")

</div>

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 🙂
