Just wanted to check If I am not missing something. I wanted to use Office UI Fabric core controls on SPFx webpart without React component. So basically I have option to use SP Fabric Core.
To Use Fabric core, we need to add below package in SPFx project.
npm install @microsoft/sp-office-ui-fabric-core --save
Then i can import
Once I have required scss file and say suppose I want to create grid I can use below
<div class="ms-Grid" dir="ltr"> <div class="ms-Grid-row"> <div class="ms-Grid-col ms-sm6 ms-md4 ms-lg2">A</div> <div class="ms-Grid-col ms-sm6 ms-md8 ms-lg10">B</div> </div> </div>
Basically I was looking to use controls only by Using Fabric UI Core.
Can someone please advise ?