
Buttons allow users to take actions and make choices in an interface with a click or a tap. Buttons are used throughout every user interface design to communicate actions that users can do.
The different button actions are used to give buttons varying hierarchies making some have more important actions, while some have less important ones.
Call-to-Action Button. A call-to-action (CTA) button prompts the user to take a recommended action. CTAs are used to tell what the interface wants the user to perform.

Primary Action Button. Frequently interchanged with a CTA button, a primary action button is a strong visual indicator that helps users in completing a task on the website. A primary action button must have a strong visual weight and distinct contrast among its surrounding elements.

Secondary Action Button. Secondary action buttons are alternative options the interface offers to users that come along with a primary action button. As compared to a primary button, the secondary button style has a significantly weaker visual attraction to reduce the risk of users making an error.

Tertiary Action Button. Tertiary action buttons are miscellaneous actions that users can take but are not necessary for a website's task's progression. Visually, tertiary action buttons have the weakest weight for its optional nature.

Buttons states let the user know what action can be done or is currently being received through previewing visual feedback to the user.

Button styles are responsible for creating the context of how the message of the button is perceived by the user.