Skip to main content

Fidget Spinner



  render(<FidgetSpinner
  visible={true}
  height="80"
  width="80"
  ariaLabel="fidget-spinner-loading"
  wrapperStyle={{}}
  wrapperClass="fidget-spinner-wrapper"
  />)


Props

NameTypeDefaultDescription
ariaLabelstringfidget spinner-loadingSpecifies the Aria label of the fidget spinner. This label will be applied to the aria-label attribute in the wrapper element.
backgroundColorstring"#F4442E"Background color of the spinner
ballColorsarray["#ff0000", "#00ff00", "#0000ff"]Array of colors for the balls
heightnumber | string80Specifies the height of the fidget spinner SVG. For additional customization, employ the wrapper className.
visiblebooleantrueControls the visibility of the fidget spinner. If set to false, the fidget spinner will not be rendered.
widthnumber | string80Specifies the width of the fidget spinner 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.

More Example