Here are some general best practices to follow when designing buttons:
Color: Use consistent colors for your buttons. Generally, primary actions should be more visually prominent than secondary actions.
Size: Buttons should be large enough to be easily clicked or tapped, but not so large that they dominate the screen. A consistent size also helps users recognize them as buttons.
Shape: Consistent shapes can help users identify buttons. Whether you choose rounded corners, sharp corners, or circular buttons, make sure it's the same throughout the UI.
Typography: Use the same font style and size for all your button text. The text should be clear and legible.
Labels: Button labels should clearly indicate what will happen when the button is clicked. Use action verbs whenever possible. Be consistent with your terminology.
Placement: Commonly used buttons should be placed in easily reachable areas on the screen. Also, similar types of buttons should appear in the same location across different screens.
States: Buttons should have different states (like hover, active, disabled) that provide visual feedback to users. The styles for these states should be consistent.
Iconography: If you're using icons on your buttons, make sure they're consistent in style and size. Icons can be helpful, but don't rely on them alone—combine them with text labels whenever possible.
Whitespace: Ensure there's adequate whitespace around your buttons. This can help set them apart from other elements and prevent accidental clicks.
Accessibility: Ensure your buttons are accessible. This includes considerations like color contrast and support for keyboard navigation.
It's never been easier to create or modify an existing style guide or design system (e.g. Bootstrap, Tailwind, Bulma) for your product so that you and your team can keep styles, elements and components consistent. You can also use something like Storybook for advanced control and testing of your UI components to ensure consistency.