Skip to content
You're viewing documentation for Draftbit Classic (v1), our previous platform. See the current Draftbit docs.

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 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.

PropertyDescription
Component nameThe name of the component as it appears in the Screen’s component tree
SelectableLets the user select text, to use the native copy and paste functionality.
Accessibility labelOverrides 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.
PropertyDescription
Input TextThis 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}}“

You can conditionally display a component based on a given condition. Learn more about conditionally displaying components in the Conditional Display doc.