--- title: Stylized text component setup description: The Stylized text component enables designers to stylize text in their experiences using CSS.Properties in the Stylized text component have optional preset configuration values. You can accept these values or override them manually.The Stylized text component doesn't have configurable events. locale: en-US canonical_url: https://www.servicenow.com/docs/r/application-development/ui-builder/stylized-text-component-uib-setup.html release: brazil product: UI Builder classification: ui-builder topic_type: task last_updated: "2026-09-10" reading_time_minutes: 4 breadcrumb: [UIB Setup Information, UI Builder, Builder library, Developing your application, Classic app development, Building applications] --- # Stylized text component setup The Stylized text component enables designers to stylize text in their experiences using CSS. ## Before you begin This component contains a preset configuration. Presets automatically configure properties and event handlers for a component, making the component ready to work when you add it to a page. You can apply one preset to a single instance of a component on a page. For more information, see [Automatically configure components using presets](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/brazil/markdown/application-development/ui-builder/presets.md). A preset connects to a controller, which acts as a data resource for the component. Controllers provide the configuration data and event binding the component needs to function in your experience. For more information see [Bind data to UI pages using controllers](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/brazil/markdown/application-development/ui-builder/controllers.md). This task assumes you have placed the component on the page and are ready to configure the properties and events. For instructions on accessing and using features in UI Builder, see [Customize UI Builder pages using components](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/brazil/markdown/application-development/ui-builder/work-components.md). **Note:** This document describes the latest component functionality. Go to the store to make sure you have the latest version of the component. Role required: admin or ui\_builder\_admin ## Procedure 1. Define a label for Stylized text that differentiates it from other components in the content tree. A descriptive label makes finding the component easier in a large list of components. For instructions on using the content tree, see [Manage UI pages and page variants](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/brazil/markdown/application-development/ui-builder/work-pages.md). \[Omitted image "stylized-text-content-tree.png"\] Alt text: Shows the label for the stylized text component in the content tree 2. Select the Stylized text component, using one of these methods: - Click anywhere within the component on the page. - Select the label you created for your component in the content tree. The preset selection panel appears in the pane on the right. \[Omitted image "stylized-text-presets.png"\] Alt text: Shows the selection panel with the preset for the stylized text component 3. Select either **None** to configure the component properties manually, or select one of the available presets to use pre-configured properties and events for the component. When you select the first preset on a page, a configuration panel appears with instructions for configuring the required controller for that preset. For more information, see [Automatically configure components using presets](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/brazil/markdown/application-development/ui-builder/presets.md) \[Omitted image "stylized-text-preset-config.png"\] Alt text: Shows the configuration panel for connecting the preset to the required controller 4. Supply the data that connects a preset to its controller and select **Use**. UI Builder automatically configures any other presets in the page to use the same controller with the same configuration. For more information, see [Add a controller](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/brazil/markdown/application-development/ui-builder/controllers.md) **Parent Topic:**[UIB Setup Information](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/brazil/markdown/application-development/ui-builder/uib-setup-information.md) ## Stylized text component properties Properties in the Stylized text component have optional preset configuration values. You can accept these values or override them manually. Presets are intended to suit a specific use case. However, you can override a property that has a preset value with a custom configuration if necessary for your design. For details on overriding and resetting presets, see [Override a component preset](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/brazil/markdown/application-development/ui-builder/presets.md). **Important:** Preset values that you override aren't updated automatically when you upgrade the instance. ### Available presets - **Record subheading** This preset provides text with a predefined appearance and size for use as a subheading in a record heading. This preset requires the **Record** controller. Properties included in this preset are: - Text - HTML tag - CSS ### Properties
| Label \[property\] | Description |
|---|---|
| Text\[text\] | Text to display. The default is: "Let's workflow it. |
| HTML tag \[tag\] | HTML element that wraps the text. The choices are: - div - h1 - h5 - p \(default with the preset\) - pre - span |
| CSS \[css\] | CSS directly inserted above the text in a <style> tag.Default text characteristics: `* { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; margin: 0px; font-size: 1rem; color: RGB(var(--now-color_text--secondary,var(--now-color--neutral-12,66,80,81)));}` |