Skip to main content
Brand and assets
Build
Monitor and contribute
/
Component library
  • All components
  • Buttons & actions
  • Forms & inputs
  • Layout & containers
  • Overlays
  • Feedback & status
  • Data display
    • Accordion
    • Accordion
    • Avatar
    • Avatar
    • Blobby
    • Card
    • Card
    • Collapsible
    • Divider
    • Emoji
    • Emoji
    • Gradient
    • Gradient
    • Icon
    • Image
    • ListItem
    • ListItem
    • ResponsiveImage
    • SemanticList
    • Tag
    • Timeline
  • Typography
  • Accessibility
  • Contrib
  • Deprecated
  • Data display
  • Gradient

Gradient

Paints a gradient background. Use the named variants so gradients stay consistent across the product.

Health
Component health
Source
View on Github
Storybook
View in Storybook
Playground
No Example
Accessibility

compliant

Platform
Web
  • Overview
  • Props

Playground​

Loading...

Gradient props

NameTypeDefault ValueDescriptionUsage count
classNamestringundefined
cssSerializedStylesundefined
styleCSSPropertiesundefined
variant*WebGradient
Edit this page
Previous
Gradient
Next
Icon
  • Playground