Skip to main content

Vortex



  render(<Vortex
  visible={true}
  height="80"
  width="80"
  ariaLabel="vortex-loading"
  wrapperStyle={{}}
  wrapperClass="vortex-wrapper"
  colors={['red', 'green', 'blue', 'yellow', 'orange', 'purple']}
  />)


Props

NameTypeDefaultDescription
ariaLabelstringvortex-loadingSpecifies the Aria label of the vortex. This label will be applied to the aria-label attribute in the wrapper element.
colorsarray["red", "green", "blue", "yellow", "orange", "purple"]An array of colors to use for the vortex
heightnumber | string80Specifies the height of the vortex SVG. For additional customization, employ the wrapper className.
visiblebooleantrueControls the visibility of the vortex. If set to false, the vortex will not be rendered.
widthnumber | string80Specifies the width of the vortex 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.