You can use SVG loader just like using an image. For example, with <img> tag:
or as background image:
CSS loader has two parts: stylesheet and HTML part. Stylesheet is embraced in <style> tag so you can copy the file content into the place you want the icon to show.
To increase reusability, you can separate stylesheet from html part into a standalone css file. For example:
will look like this:
Use preloader GIF in an <img> tag or as background of another element: