web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Apps
Unanswered

MUI in PCF

(0) ShareShare
ReportReport
Posted on by

Hello fellow PowerAppers,

 

I was wondering if anyone has had any luck with implementing MUI (material-ui) in PCF components? I have got it all the way to displaying in the PCF preview but when I import it into a PowerApps application it is just blank. Perhaps it is due to PowerApps not having this framework available? (It is google after all) With that being said, I have seen examples of people using Babylon.js in a PCF component so it seems like it should be possible.

 

Thanks,

I have the same question (0)
  • a33ik Profile Picture
    3,306 Most Valuable Professional on at

    Hello,

    I used MUI in PCF controls and it worked fine for me. When the PCF control is built it includes all the frameworks needed for the control.

    My recommendation - troubleshoot the control - there must be some issue in the code or logic of the control that stops it from being rendered.

  • Community Power Platform Member Profile Picture
    on at

    My only other guess is that I am using it in a React virtual control which I believe uses built in frameworks that need to match those in the solution. At least that is the case with React and Fluent versions. The control renders fine when being run through vscode.

  • Diana Birkelbach Profile Picture
    3,072 Most Valuable Professional on at

    Hi @Anonymous , 

    A virtual PCF allows you to use the React used by the Power Apps (and eventually Fluent UI).
    If you add libraries (like material-ui), you need to declare them in the package.json and import the needed components in your code.
    Since the virtual components are using a fixed version of React, maybe there is an issue with the material-ui version you use. React 18 has some changes, and virtual PCFs are using a React 16.8.6. There might be a conflict...

  • Community Power Platform Member Profile Picture
    on at

    Oh thank you! I will check into this when I get a chance. This seems very possible.

  • angelbueno Profile Picture
    2 on at

    Hi! Excuse me for asking, could you tell me what project or where you have seen babylon.js used in PCF. Thank you!

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 717 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 329 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard