variant
"primary-to-right" | "primary-to-left" | "primary-fade-out"
Indicates which variant of the gradient to use
<Gradient variant="primary-to-right"><Boxstyle={{blockSize: '100px',inlineSize: '100px'}}/></Gradient>
<Boxstyle={{inlineSize: '500px'}}><Gradient variant="primary-to-right"><Imagealt="Masked woman with sticker on arm"height={603}src="/design-system/docs/images/example-image-gradient.jpg"width={700}/></Gradient></Box>
variant
"primary-to-right" | "primary-to-left" | "primary-fade-out"
Indicates which variant of the gradient to use
className
string
The className property sets the value of the class attribute of the element.
atoms
Applies permitted design system styles. See styling documentation for more.