In the earlier version of the Polaris website, it was possible to view the plain HTML version of the components.
Although we're using react for frontend, there were multiple occasions that made us use the HTML version to extend the features of existing components.
This is really useful for multiple use cases:
- Our being to use a component/icon where in the react component only string is accepted
- Use the Polaris design without react. Use plain html, vue, etc instead
- Extend the functionality. For instance, the button onClick currently won't give the event object to the callback. We had a use case where this was needed