Gradient
Paints a gradient background. Use the named variants so gradients stay consistent across the product.
Health
Source
Storybook
Accessibility
compliant
Platform
Mobile
📱 Mobile-only
This component is only for mobile. To see how it looks like you can check the mobile storybook with:
yarn workspace alan-mobile dev:install-client -p ios
yarn workspace alan-mobile dev:storybook
- Overview
- Props
info
Mobile components cannot be previewed in the browser. Use Storybook mobile or run the app locally to test.
Playground
Loading...
Gradient props
| Name | Type | Default Value | Description | Usage count |
|---|---|---|---|---|
| animated | booleanundefined | |||
| animateOnScroll | booleanundefined | |||
| height | numberundefined | |||
| initialTime | numberundefined | |||
| inverted | booleanundefined | |||
| maxHeightWhenCollapsed | numberundefined | |||
| variant* | ScreenGradientVariant |