Re-usable suggest/autocomplete components

I’m looking to update my ‘from-template’ plugin, and I’d like to be able to offer autocomplete suggestions for both links and proptery values. Are there existing components that can do that easily? I guess having links shouldn’t be too hard, but it would be really nice to be able to re-use all of the code for putting in Properties that finds good matches.

Quick bump on this - also wondering if there’s a way to access the built-in Obsidian UI for adding Properties to a note?