Amazon Developer

as

Settings
Sign out
Notifications
Alexa
Amazon Appstore
Ring
AWS
Documentation
Support
Contact Us
My Cases
Get Started
Design and Develop
Publish
Reference
Support
Skip to main content

Example

Reference

Props

backfaceVisibility


backgroundColor


experimental_backgroundImage Vega

experimental_backgroundImage provides the ability to draw a linear-gradient() and radial-gradient() using a web-like syntax.

borderBottomColor


borderBlockColor


borderBlockEndColor


borderBlockStartColor


borderBottomEndRadius


borderBottomLeftRadius


borderBottomRightRadius


borderBottomStartRadius


borderStartEndRadius


borderStartStartRadius


borderEndEndRadius


borderEndStartRadius


borderBottomWidth


borderColor


borderCurve iOS

On iOS 13+, it is possible to change the corner curve of borders.

borderEndColor


borderLeftColor


borderLeftWidth


borderRadius

If the rounded border is not visible, try applying overflow: 'hidden' as well.

borderRightColor


borderRightWidth


borderStartColor


borderStyle


borderTopColor


borderTopEndRadius


borderTopLeftRadius


borderTopRightRadius


borderTopStartRadius


borderTopWidth


borderWidth

boxShadow Vega Not Available

Adds a shadow effect to an element, with the ability to control the position, color, size, and blurriness of the shadow. This shadow either appears around the outside or inside of the border box of the element, depending on whether or not the shadow is inset. This is a spec-compliant implementation of the web style prop of the same name. Read more about all the arguments available in the BoxShadowValue documentation. These shadows can be composed together so that a single boxShadow can be comprised of multiple different shadows. boxShadow takes either a string which mimics the web syntax or an array of BoxShadowValue objects.

cursor iOS Vega Not Available

On iOS 17+, Setting to pointer allows hover effects when a pointer (such as a trackpad or stylus on iOS, or the users’ gaze on visionOS) is over the view.

elevation Android Vega Not Available

Sets the elevation of a view, using Android’s underlying elevation API. This adds a drop shadow to the item and affects z-order for overlapping views. Only supported on Android 5.0+, has no effect on earlier versions.

filter Vega Not Available

Adds a graphical filter to the View. This filter is comprised of any number of filter functions, which each represent some atomic change to the graphical composition of the View. The complete list of valid filter functions is defined below. filter will apply to descendants of the View as well as the View itself. filter implies overflow: hidden, so descendants will be clipped to fit the bounds of the View. The following filter functions work across all platforms:
  • brightness: Changes the brightness of the View. Takes a non-negative number or percentage.
  • opacity: Changes the opacity, or alpha, of the View. Takes a non-negative number or percentage.
Android The following filter functions work on Android only:
  • blur: Blurs the View with a Gaussian blur, where the specified length represents the radius used in the blurring algorithm. Any non-negative DIP value is valid (no percents). The larger the value, the blurrier the result.
  • contrast: Changes the contrast of the View. Takes a non-negative number or percentage.
  • dropShadow: Adds a shadow around the alpha mask of the View (only non-zero alpha pixels in the View will cast a shadow). Takes an optional color representing the shadow color, and 2 or 3 lengths. If 2 lengths are specified they are interpreted as offsetX and offsetY which will translate the shadow in the X and Y dimensions respectfully. If a 3rd length is given it is interpreted as the standard deviation of the Gaussian blur used on the shadow - so a larger value will blur the shadow more. Read more about the arguments in DropShadowValue.
  • grayscale: Converts the View to grayscale by the specified amount. Takes a non-negative number or percentage, where 1 or 100% represents complete grayscale.
  • hueRotate: Changes the hue of the View. The argument of this function defines the angle of a color wheel around which the hue will be rotated, so e.g., 360deg would have no effect. This angle can have either deg or rad units.
  • invert: Inverts the colors in the View. Takes a non-negative number or percentage, where 1 or 100% represents complete inversion.
  • sepia: Converts the View to sepia. Takes a non-negative number or percentage, where 1 or 100% represents complete sepia.
  • saturate: Changes the saturation of the View. Takes a non-negative number or percentage.
filter takes either an array of objects comprising of the above filter functions or a string which mimics the web syntax.

mixBlendMode Vega

Controls how the View blends its colors with the other elements in its stacking context. Check out the MDN documentation for a full overview of each blending function. For more granular control over what should be blending together see isolation.
mixBlendMode Values
  • normal: The element is drawn on top of its background without blending.
  • multiply: The source color is multiplied by the destination color and replaces the destination.
  • screen: Multiplies the complements of the backdrop and source color values, then complements the result.
  • overlay: Multiplies or screens the colors, depending on the backdrop color value.
  • darken: Selects the darker of the backdrop and source colors.
  • lighten: Selects the lighter of the backdrop and source colors.
  • color-dodge: Brightens the backdrop color to reflect the source color. Painting with black produces no changes.
  • color-burn: Darkens the backdrop color to reflect the source color. Painting with white produces no change.
  • hard-light: Multiplies or screens the colors, depending on the source color value. The effect is similar to shining a harsh spotlight on the backdrop.
  • soft-light: Darkens or lightens the colors, depending on the source color value. The effect is similar to shining a diffused spotlight on the backdrop.
  • difference: Subtracts the darker of the two constituent colors from the lighter color.
  • exclusion: Produces an effect similar to that of the Difference mode but lower in contrast.
  • hue: Creates a color with the hue of the source color and the saturation and luminosity of the backdrop color.
  • saturation: Creates a color with the saturation of the source color and the hue and luminosity of the backdrop color.
  • color: Creates a color with the hue and saturation of the source color and the luminosity of the backdrop color. This preserves the gray levels of the backdrop and is useful for coloring monochrome images or tinting color images.
  • luminosity: Creates a color with the luminosity of the source color and the hue and saturation of the backdrop color. This produces an inverse effect to that of the Color mode.

opacity


outlineColor

Sets the color of an element’s outline. See web documentation for more details.

outlineOffset

Sets the amount of space between an outline and the bounds of an element. Does not affect layout. See web documentation for more details.

outlineStyle

Sets the style of an element’s outline. See web documentation for more details.

outlineWidth

The width of an outline which is drawn around an element, outside the border. Does not affect layout. See web documentation for more details.

pointerEvents

Controls whether the View can be the target of touch events.
  • 'auto': The View can be the target of touch events.
  • 'none': The View is never the target of touch events.
  • 'box-none': The View is never the target of touch events but its subviews can be.
  • 'box-only': The view can be the target of touch events but its subviews cannot be.
Last modified on May 13, 2026