1. Looped Loaders
Looped loaders should be used for indeterminate load times or actions estimated between 2–9 seconds.
If the load or action takes less than 2 seconds, do not use a loader. If the process usually takes less than 2 seconds, a loader quickly flashing on the screen and then disappearing may confuse the user—they may feel like something went wrong.¹ ³
If the load takes at least 10 seconds or if there is a known set of records being loaded, use a progress bar if possible.¹
2. Placement
Loaders should be centered in content areas. Consistent placement in the center of the loading element means the loader will be visible and the user will know where to expect loaders to appear.

Related Components
Additional Reading
World Leaders in Research-Based User Experience. “Progress Indicators Make a Slow System Less Insufferable.” Nielson Norman Group, https://www.nngroup.com/articles/progress-indicators/.
Smashing Magazine. “Best Practices for Animated Loading Indicators.” Nick Babich, https://www.smashingmagazine.com/2016/12/best-practices-for-animated-progress-indicators/.
World Leaders in Research-Based User Experience. “Response Times: 3 Important Time Limits.” Nielson Norman Group, https://www.nngroup.com/articles/response-times-3-important-limits/.