Related page: Button
The intent
attribute refers to the intended action type of the button (e.g., primary, secondary, neutral) and is not related to the primary and secondary colors established in the theme. As such, secondary intents tend to appear more subtle than their primary counterparts.