> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://support.pdfgeneratorapi.com/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

# Number Component

The Number component is designed to display and format numeric data from your JSON dataset, offering customization options such as adjusting decimal places and modifying thousands and decimal separators.

${frame}[Text, Number & Date component](https://www.loom.com/embed/663cc715f23b45fa900a63c0838a9d72?sid=2ae3bbf8-4a54-4679-9533-b7300ad57d91)
---

### Properties Tab

Besides the basic settings of the component, such as its position and size, the **Properties** tab of the Number component offers the number format options, such as decimal places and separators, and the options described below.

###### Auto Increment

Auto Increment option allows a unique number to be generated automatically when a new record is added from an array, typically used to add a "Row number" to each item listed in your Order. You can find more information about this feature in our article ["How to set up row numbering"](https://support.pdfgeneratorapi.com/en/article/how-to-set-up-row-numbering-jwjayk/).

###### Expand text editor

**Expand text editor** in the **Properties** tab, or a double-click on the component, opens a larger editor for the component, which makes it easier to work with longer content. It offers the formatting options from the top panel and, on the right side, the **Properties** and **Advanced** tabs of the component.

###### Overflow options

By default, the height of the component adjusts to its content, unless one of these options is enabled. The **Properties** tab contains two options that define what happens when the content does not fit into the component:

1. **Cut the text if it exceeds the component size** – The content stops at the size of the component and the rest is cut off.
2. **Reduce font size to fit the content** – Dynamically reduces the font size, so the content fits to the component size.
---

### Advanced Tab

The Advanced tab offers additional options for customizing your documents as well as improving navigation in the editor between components. There are 5 options available:

* **Unique identifier** – Assigns a unique identifier to the component, which makes it easy to find and update via the API and to navigate to in the Components list.
* **Lock position** – Locks the component in a defined position, preventing it from being affected by other components and ensuring it doesn’t affect them.
* **Render as an editable field** – Renders the content as an editable field, allowing users to edit the content directly in the generated PDF.
* **Render HTML as plain text** – Renders HTML tags as plain text, displaying the raw tag structure instead of rendering the HTML content.
* **Compact HTML rendering** – Removes auto-generated paragraph margins in HTML content, reducing vertical gaps between components and resulting in a more compact layout.

###### Editable fields

${frame}[Editable Fields](https://www.loom.com/embed/63d08ea5590e45458b340eebba3b2fb8?sid=e0dbe906-0f4e-4e30-a7dd-e835a5dce96a)
---
### Related articles you may find helpful

* [How to add page numbers?](https://support.pdfgeneratorapi.com/en/article/how-to-add-page-numbers-1re50ta/)
* [Number Functions](https://support.pdfgeneratorapi.com/en/article/number-functions-qgg505/)
* [Supported operators](https://support.pdfgeneratorapi.com/en/article/supported-operators-1g0y3zu/)