---
title: "custom text · RUAL Documentation"
description: "Returns the text without an element wrapper if no attributes or outlet are set. If either one is set the text will be wrapped with a span"
canonical: https://docs.rual.nl/block-types/Component%20UI/component_text
language: en
---

[Cluster](https://docs.rual.nl/cluster)

[Blocks](https://docs.rual.nl/block-types)

[Interfaces](https://docs.rual.nl/interfaces)

[Blueprints](https://docs.rual.nl/blueprints)

[Tutorials](https://docs.rual.nl/tutorials)

[Home automation](https://docs.rual.nl/home-automation)

[Examples](https://docs.rual.nl/examples)

[Reference](https://docs.rual.nl/reference)

[Architecture](https://docs.rual.nl/architecture)

[Troubleshooting](https://docs.rual.nl/troubleshooting)

Other

# custom text

This block is part of the [`Component UI`](https://docs.rual.nl/block-types/Component%20UI) group and was last modified in core [`v10.4.28`](https://docs.rual.nl/core-versions/100428).

Returns the text without an element wrapper if no attributes or outlet are set. If either one is set the text will be wrapped with a span

- value required `uicomponent`

- uicomponent `uicomponent`

A typical wiring for [custom text](https://docs.rual.nl/block-types/Component%2520UI/component_text): [substring](https://docs.rual.nl/block-types/value/value_substr) feeds the `co-value` pin; the `uicomponent` out pin feeds [build PDF](https://docs.rual.nl/block-types/files/file_generate_pdf).

[![Studio canvas example for the custom text block: typical wiring for custom text.](https://docs.rual.nl/canvas-examples/component_text.png)](https://docs.rual.nl/canvas-examples/component_text.png?v=3)

## Commonly used with

In production blueprints, this block is most often wired together with:

- [div](https://docs.rual.nl/block-types/Component%20UI/component_content_div): this block feeds into it. Generic container for content.

- [custom](https://docs.rual.nl/block-types/styling/uistyle_custom): feeds into this block. Custom styling.

- [substring](https://docs.rual.nl/block-types/value/value_substr): feeds into this block.

## Version history

Introduced in [`v10.4.28`](https://docs.rual.nl/core-versions/100428).

- [Back to `Component UI`](https://docs.rual.nl/block-types/Component%20UI): Return to the main group to view all sub-groups

- [Back to `typography`](https://docs.rual.nl/block-types/Component%20UI?group=typography): Return to the group to view all blocks within this group

Was this page helpful? [Tell us what to improve](https://docs.rual.nl/support) · RUAL Docs is an integral component of the [RUAL ecosystem](https://rual.nl)
