In Figma you can create auto-fit buttons with the Auto layout option, which allows you to use a button layout as a template that adapts at the shape level to the text content. You will be able to create prototypes in a more professional and effective way, reducing implementation time and respecting the original design that you have generated.
Classify what types of buttons you will need in your web prototype and use auto layout to create the custom versions you need.