How to auto add icon to folders and notes?

I don’t know of anything that will automagically do this for you on folders. For files, you can use emojis as part of a filename which can help you manage that a bit easily?