Skip to main content

DNA



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


Props

NameTypeDefaultDescription
ariaLabelstringDNA-loadingSpecifies the Aria label of the DNA. This label will be applied to the aria-label attribute in the wrapper element.
heightnumber | string80Specifies the height of the DNA SVG. For additional customization, employ the wrapper className.
visiblebooleantrueControls the visibility of the DNA. If set to false, the DNA will not be rendered.
widthnumber | string80Specifies the width of the DNA 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.