How to use polaris component witout using react

UmarAhmed
Shopify Partner
3 0 0

I want to use polaris components like card , banner etc. in my app but it is not a react app so how can i use them without using react.

Replies 2 (2)

YOD_Solutions
Shopify Partner
159 17 24

You can include the Polaris CSS in your html from "unpkg.com/@shopify/polaris@12/build/esm/styles.css"   The Polaris docs website has sample codes for both react and html for each component; you can use the html samples. https://polaris.shopify.com/components

 

Founder @ JsRates: Custom Shipping Rates
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution
- To learn more about JsRates visit the JsRates home page or JsRates documentation
- Find JsRates on Shopify app store
UmarAhmed
Shopify Partner
3 0 0

The cdn you provided is not working 

UmarAhmed_0-1706159943294.png