# Label

Labels are components used to show text. A label displays text which is specified by the Text property. Other properties, all of which can be set in the Designer or Blocks Editor, control the appearance and placement of the text.

## Properties

### BackgroundColor

Color for label background.

### FontBold

If set, label text is displayed in bold.

### FontItalic

If set, label text is displayed in italics.

### FontSize

Point size for label text.

### FontTypeface

Font family for label text.

### HasMargins

Reports whether or not the label appears with margins. All four margins (left, right, top, bottom) are the same. This property has no effect in the designer, where labels are always shown with margins.

### HTMLFormat

If true, sets text of label to html format else it is plain text format. Note: Not all HTML is supported.

### Height

Label height (y-size).

### Width

Label width (x-size).

### Text

Text to display on label.

### TextAlignment

Left, center, or right.

### TextColor

Color for label text.

### Visible

If set, label is visible.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://help.appybuilder.com/components/reference/user-interface/label.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
