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

Link

A Link is a button component without any background or border. You can use it in places where your app screens require a borderless button. You can use it to Trigger Actions.

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
Selection ColorAndroid only. The highlight color of the text.
PropertyDescription
Component NameTo alter the name of the component. The name is reflected in the Components tree. Defaults to Link.
Max # of LinesSet the maximum number of lines to be displayed when Truncate Text is set.
Truncate TextDetermine how the text will be truncated if the Max # of Lines property is set in conjunction.
DisabledRemoves button functionality.
PropertyDescription
Input TextThe text to display for the link

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

NameDescription
On PressRuns the Actions when the component is pressed

Changing the Label color, Font, and Font Size

Section titled “Changing the Label color, Font, and Font Size”

To change the font, font size, or color on a Link component:

  • Select the Button Outline component in the Components tree.
  • Go Styles tab (first tab) in the Properties Panel > Style.
  • Add the desired value for the Color, Font, and Size property from the color picker or enter a custom color value in hexadecimal or rgba format.