For me, if it's framework specific, I have a repo that is a component / snippet library.
If it's framework agnostic, I keep it in Notion.so so that it's searchable using the name and tags such as css & setup, etc.
I have a repo for now just like you, but I like the idea of searching it in Notion via tags. Will check if this works for me.
Thanks for you feedback :)
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.