Documentation
Unify Applications
Logo
Text

Text

Logo

2 mins READ

Overview

Text component allows users to add and format text within the applications. It can be used for various purposes, including headings, labels, instructions, or any other textual content.

In this article you will learn about how to configure text components..

Define Content

  1. Text: This field expects the actual text content to be displayed. You can use Data Pills as well to show Dynamic Content.

  2. Type: This field defines the format of the text like plain text, HTML, or other markup languages.

    Group 68.png
    Group 68.png
    Thumbnail

    Refer

    Data Pills can be used to dynamically populate the text content from various data sources. For more information on data mapping, refer to the Data Pills article.

Style Text Component

The appearance of the Text component can be customized to fit the design requirements of your application. The following properties are available for styling:

PropertyDescription
VariantSelect the text style, such as body, heading, subtitle, etc.
AlignSet the alignment of the text (left, center, right, justify)
WeightChoose the font weight (regular, bold, light, etc.)
Color Define the color of the text. This can be set to any color from the palette or custom colors
PaddingSet the padding around the text.
Width Define the width of the text box.
Min WidthSet the minimum width.
Max WidthSet the maximum width.
Frame 427319208 (1).png
Frame 427319208 (1).png

Best Practices

  1. Consistent Styling: Maintain a consistent style throughout your application for a professional look.

  2. Accessibility: Ensure the text is readable and accessible to all users by using appropriate font sizes and colors.

  3. Dynamic Content: Use Data Pills to keep your text content dynamic and up-to-date with real-time data.