Hybrid component


  • Full report name: Element may be one of several components
  • Status: ERROR
  • Related to: components
  • Summary: an element could be one of several components and Warhol can't decide
  • How to fix: update your component library, Warhol configuration or the component on the target page

This error occurs when an element matches more than one component target selectors and Warhol is unable to decide which component the element is supposed to be. As a consequence Warhol is unable to check the styles on a component and its children.

Each component should have one canonical selector that it is unambiguously identified by. This error points to some not-quite unambiguously component selectors. You need to either fix your component library, Warhol configuration or the component on the target page.

See also #

Join our Slack Community

Any question not answered yet? You want to get the latest information on Warhol and discuss new features? Join our Slack Community.