Button
Buttons allow users to take actions, and make choices, with a single click. They are typically found in forms, dialog, and toolbars. Some buttons are specialized for particular tasks, such as navigation or presenting menus.
Props
Usage guidelines
When to Use
- Communicating an action that will occur.
- Triggering or enabling an action, such as submitting requested information.
- Progressing or regressing a user through a step in a flow.
When Not to Use
- Directing users to a new page or different part within the same page. Instead, use Link.
- Limited space available. Consider using an IconButton instead.
Types & Roles
Size
Color
color="gray"
color="red"
color="blue"
color="white"
color="transparent"
color="semiTransparentWhite"
Color: transparent and semiTransparentWhite


Width
Icons
Selected state
ref
Accessibility: label
Accessibility: controls, expanded, & popup
Related
OnLinkNavigationProvider
OnLinkNavigationProvider allows external link navigation control across all children components with link behavior.