Latest Polaris Web Component Elements Not Working

Some of the polaris component are not working for example

its gives a type error: Property ‘s-phone’ does not exist on type ‘JSX.IntrinsicElements’

When you make a declaration and add the declared file to the tsconfig.json
then the error is gone but its doesnt render on the app like there is nothing

sorry can’t help you on this one. So frustrating that we have to use web components now when React components were working just fine.

1 Like

so I am not missing something because i’ve been running around in circles trying to find the issue, it doesnt actually work?

Hi there. s-phone is not one of our components. Can you link to where you’re seeing a reference to s-phone? Or help me understand what you’re trying to render.

Our list of components can be found here: Polaris web components

No, most components have been either not fully migrated or just totally left behind, you should keep using the React components for at least a couple more months until a full migration has been done.

I have a list of 10+ components currently in that case, React remains the better choice for now.