function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Niraj Singh 28Niraj Singh 28 

Is a good practice to use Bootstrap with SLDS?

Hello Experts

I am new in saleforce lightning application development. Here I have needed some desing like a bootstrap in lightning component.
Is this good practice to use bootstrap in lightning or not.
Raj VakatiRaj Vakati
You can design the bootstrap  similar UI using the SLDS css  .. If you can able to get the same UI using SLDS please go ahead and you no need bootstrap  and i can say it's not good to approach to keep two different css libs to do the same work .and moreover SLDS is native to SF 

If you can't able to do it with SLDS use the bootstrap ..
Naveen KNNaveen KN
yes, Adding to Raj comments, as salesforce is already providing you the library which is similar to the Bootstrap, it is better to use it and in case if you need any design change you can use styling bundle within the lightning component, you may not need as SLDS provides good styling already. coming to performance, you can avoid puting one more js file to the user machine while loading the screen.