Figma's ability to add a library to any file allows for icons to be a separate libraries that can worked on and imported into your file. Within this, there are various ways to approach it and there are few of them listed down below:

What should the library provide:

Figma considerations

Design considerations