Accepted values for visibility.

Basically, all the well-known HTML properties are present, but their values are predefined.

See below an example using some of the properties:

<View opacity="half">
<Text color="neutral-900">My awesome text</Text>
</View>

Hierarchy

Properties

display?: "none" | "block" | "flex" | "inline" | "inline-block" | "inline-flex"

Changes the element exhibition

Example:

<display="flex"/>
opacity?: "none" | "solid" | "light" | "half" | "heavy" | "transparent"

Changes the element opacity

Example:

<opacity="light" />
visibility?: "hidden" | "visible" | "collapse"

Changes the element visibility

Example:

<visibility="visible" />