How to add unique id to each button?

What is the best way to add a unique id to each button that I put on a webpage? (I want this so that I can rely on css selectors that I define for my analytics suite.)
• Should I just make a prop called “id” in the button component?
• Or, should I wrap each instance of a button in a stack and edit the id of the stack?

Can you try the following, edit the Button component, select the root button element, and in the right sidebar do you see an HTML attribute for id? If you right-click that you can link it as a prop on the Button component itself. Cc @chungwu to confirm that this is the best practice

I’m testing this out now!

It worked - thanks!