SOLVED

SPFX > Can I use Office-Fabric-UI in a "simple" project (no react or angular)

Iron Contributor

This seems like a simple question but I haven't found THE answer on the internet so far. To me it is a bit confusing.

 

I have a kind of strait forward SPFX project. No react and no Angular. But for the UI I would like to use the Office-Fabric-UI components. Is this possible or am I forced to use other libraries?

 

Is there some place I can find more information about this?

 

Thanks a lot.

2 Replies

Can someone help met out?

 

Thanks a lot, Mike

best response confirmed by Mike Jansen (Iron Contributor)
Solution
You can use the raw CSS, it's a project called Office UI Fabric Core. If you want interactive components, they have only been implemented by Microsoft as React components (so you need to leverage React) and as the community in AngularJS (v1.x)... see https://www.github.com/ngOfficeUIFabric/ng-officeuifabric
1 best response

Accepted Solutions
best response confirmed by Mike Jansen (Iron Contributor)
Solution
You can use the raw CSS, it's a project called Office UI Fabric Core. If you want interactive components, they have only been implemented by Microsoft as React components (so you need to leverage React) and as the community in AngularJS (v1.x)... see https://www.github.com/ngOfficeUIFabric/ng-officeuifabric

View solution in original post