Overview
Icon buttons are clickable elements that trigger actions. They communicate calls to action to the user. They allow users to interact with pages in a variety of ways.
The icon button is typically used as part of another component. Use it as a standalone component sparingly.
Formatting
Anatomy
- Container: The primary element that holds content, color, and icons.
- Icon
Variants
Icon buttons come in three sizes and four styles. Choose the correct button based on the action you want to trigger.
Behavior
Interactions
Mouse
Users can trigger a button by clicking anywhere within the button container.
Keyboard
Users can trigger a button by pressing enter or space while the button has focus.