Gradient content

Gradient Content example

Example of a gradient Content

Gradient Content example with image

Example of a gradient image

APIs

GradientContent.Props

AttributeDescriptionTypeAccepted valuesDefault
gradientGradient in css format for background stylestring-linear-gradient(to bottom, accents_1, background)
imgpath to a image which will be lazy loaded as backgroundstring--
gradientheightthe height of the gradient to the relative elementstring-50vh
...native propsHTMLAttributes'id', 'className', ...-