This is the pre-release documentation site for the Magento PWA project. To provide feedback or contribute content, check out the pwa-devdocs repository.

Color selector component

Description Reference image
Initial state Color selector
New color selected Color selected

Interactions

  • Unavailable indicator - Unavailable colors are marked with an ‘X” on the color swatch
  • Selection - On tap, a checkmark appears on the swatch along with a tooltip that displays the color name. The tooltip disappears in a short amount of time.
  • Selection removal - On tap, the checkmark is removed from the color swatch.