Skip to main content

MagnifyingGlass



  render(<MagnifyingGlass
  visible={true}
  height="80"
  width="80"
  ariaLabel="magnifying-glass-loading"
  wrapperStyle={{}}
  wrapperClass="magnifying-glass-wrapper"
  glassColor="#c0efff"
  color="#e15b64"
  />)


Props

NameTypeDefaultDescription
ariaLabelstringmagnifying-glass-loadingSpecifies the Aria label of the magnifying-glass. This label will be applied to the aria-label attribute in the wrapper element.
colorstring#e15b64Color of the magnifying glass frame
glassColorstring#c0efffColor of the magnifying glass lensed area
heightnumber | string80Specifies the height of the magnifying-glass SVG. For additional customization, employ the wrapper className.
visiblebooleantrueControls the visibility of the magnifying-glass. If set to false, the magnifying-glass will not be rendered.
widthnumber | string80Specifies the width of the magnifying-glass SVG. For further customization, utilize the wrapper className.
wrapperClassstringundefinedAssigns a className to the wrapper for custom styling, overriding the default style.
wrapperStyleobject{}Applies styles to the wrapper. It should be a valid CSS object and can be used for custom styling, overriding the default style.