Ready

Icon Button

An icon button is a clickable element that uses only an icon to represent its function. It's a compact way to display an action, particularly useful in situations where space is limited.

Ready

Icon Button

An icon button is a clickable element that uses only an icon to represent its function. It's a compact way to display an action, particularly useful in situations where space is limited.

Ready

Icon Button

An icon button is a clickable element that uses only an icon to represent its function. It's a compact way to display an action, particularly useful in situations where space is limited.

Anatomy

  1. Icon

  2. Tooltip

Variants

  1. Default

  2. Medium

  3. Small

States

  1. Default

  2. Hover

  3. Pressed

  4. Disabled

Best Practices

1. When to use

Icon buttons should be used to perform specific actions such as "edit" or "close". They should not be used to navigate the user from one page to another. ²

2. Use with caution

The meaning of icons can be misinterpreted. Only use icon buttons for well-known actions that are regularly used and easy to memorize.¹ For lesser-known actions, use our standard buttons with text labels that describe the action.

3. Tooltip Label

The button label is displayed in a tooltip on hover. The button labels should use verbs to describe the exact action that will be taken. Avoid using labels that are vague or generic. ²

More

Related Pages

Accessibility

Color contrast ratio for our Icon button meets AAA standards, based on Web Content Accessibility Guidelines (WCAG) guidelines.

  1. Benefits: People with low vision often have difficulty reading text that does not contrast with its background. This can be exacerbated if the person has a color vision deficiency that lowers the contrast even further. Providing a minimum luminance contrast ratio between the text and its background can make the text more readable even if the person does not see the full range of colors. It also works for the rare individuals who see no color.

Additional Reading

© 2024 Basis Technologies
© 2024 Basis Technologies
© 2024 Basis Technologies