# Material UI in Cumulocity IoT

**URL:** <https://community.cumulocity.com/t/material-ui-in-cumulocity-iot/5541>\
**Category:** Forum\
**Tags:** cumulocity\
**Created:** [October 17, 2023, 9:22am UTC](https://community.cumulocity.com/t/material-ui-in-cumulocity-iot/5541 "2023-10-17T09:22:27Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![pradnya.bhore](https://avatars.discourse-cdn.com/v4/letter/p/67e7ee/32.png) [@pradnya.bhore](https://community.cumulocity.com/u/pradnya.bhore)\
**Post date:** [October 17, 2023, 9:22am UTC](https://community.cumulocity.com/t/material-ui-in-cumulocity-iot/5541/1 "2023-10-17T09:22:27Z")

</div>

I am trying to use material UI components in React App and publishing it to Cumulocity.

When I run it locally I see the Material UI component.  
But somehow when published in Cumulociy I am not able to see the component.

Does Cumulocity support external styling Libraries for styling?

---

<div class="post-metadata">

**Author:** ![Tristan\_Bastian](https://dub1.discourse-cdn.com/flex005/user_avatar/community.cumulocity.com/tristan_bastian/32/18259_2.png) [@Tristan\_Bastian](https://community.cumulocity.com/u/Tristan_Bastian)\
**Post date:** [October 17, 2023, 3:50pm UTC](https://community.cumulocity.com/t/material-ui-in-cumulocity-iot/5541/2 "2023-10-17T15:50:56Z")

</div>

Hi,

do you see any error message in your browsers console? any failing request in the network tools?  
Ensure that you are setting the baseHref correctly. This can be done by setting the `homepage` attribute within your package.json as described here: [How to host a react application on Cumulocity IoT - #7 by Tristan\_Bastian](https://community.cumulocity.com/t/how-to-host-a-react-application-on-cumulocity-iot/514/7)

Regards,  
Tristan

---

<div class="post-metadata">

**Author:** ![pradnya.bhore](https://avatars.discourse-cdn.com/v4/letter/p/67e7ee/32.png) [@pradnya.bhore](https://community.cumulocity.com/u/pradnya.bhore)\
**Post date:** [October 18, 2023, 9:32am UTC](https://community.cumulocity.com/t/material-ui-in-cumulocity-iot/5541/3 "2023-10-18T09:32:01Z")

</div>

Hi Tristan, Thanks for your reply. Unfortunately it does not show me any error. Only the Material UI button I am not able to see in Cumulocity which I see locally.

---

<div class="post-metadata">

**Author:** ![system](https://dub1.discourse-cdn.com/flex005/user_avatar/community.cumulocity.com/system/32/31990_2.png) [@system](https://community.cumulocity.com/u/system)\
**Post date:** [April 15, 2024, 9:32am UTC](https://community.cumulocity.com/t/material-ui-in-cumulocity-iot/5541/4 "2024-04-15T09:32:33Z")

</div>

Closed on April 15, 2024, 9:32am UTC

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.
