Headings
These are a set of header components: H1, H2, H3, H4, H5, H6. These work exactly like the regular Text component, with the difference being they have header-like default styles.
Style Properties
Style properties allow you to customize the look and feel of the component. Combinations of styles applied to components can be saved as Stylesheets to easily reuse styles throughout your app. Styles can also be set dynamically using Variables. To learn more about all the different styling properties and how they work, take a look at Intro to Styling.
Configuration Properties
Property | Description |
---|---|
Component name | The name of the component as it appears in the Screen's component tree |
Selectable | Lets the user select text, to use the native copy and paste functionality. |
Accessibility label | Overrides the text that's read by the screen reader when the user interacts with the element. By default, the label is constructed by traversing all the children and accumulating all the Text nodes separated by space. |
Data Properties
Property | Description |
---|---|
Input Text | This input supports static text or data & variables through the use of brackets, ie "{{variable}}". For example, you could use "Hello {{name}}" or "https://reddit.com/r/{{subreddit}}" |
Conditional Display
You can conditionally display a component based on a given condition. Learn more about conditionally displaying components in the Conditional Display doc.
Updated 6 months ago