---
title: Text
description: >-
Displays inline text with specific visual styles or tones. Use to emphasize or
differentiate words or phrases within a Paragraph or other block-level
components.
api_version: 2025-10
api_name: admin-extensions
source_url:
html: >-
https://shopify.dev/docs/api/admin-extensions/latest/polaris-web-components/titles-and-text/text
md: >-
https://shopify.dev/docs/api/admin-extensions/latest/polaris-web-components/titles-and-text/text.md
---
# Text
Displays inline text with specific visual styles or tones. Use to emphasize or differentiate words or phrases within a Paragraph or other block-level components.
## Properties
* accessibilityVisibility
"visible" | "hidden" | "exclusive"
Default: 'visible'
Changes the visibility of the element.
* `visible`: the element is visible to all users.
* `hidden`: the element is removed from the accessibility tree but remains visible.
* `exclusive`: the element is visually hidden but remains in the accessibility tree.
* color
"base" | "subdued"
Default: 'base'
Modify the color to be more or less intense.
* dir
"" | "auto" | "ltr" | "rtl"
Default: ''
Indicates the directionality of the element’s text.
* `ltr`: languages written from left to right (e.g. English)
* `rtl`: languages written from right to left (e.g. Arabic)
* `auto`: the user agent determines the direction based on the content
* `''`: direction is inherited from parent elements (equivalent to not setting the attribute)
* fontVariantNumeric
"auto" | "normal" | "tabular-nums"
Default: 'auto' - inherit from the parent element
Set the numeric properties of the font.
* interestFor
string
ID of a component that should respond to interest (e.g. hover and focus) on this component.
* tone
"info" | "success" | "warning" | "critical" | "auto" | "neutral" | "caution"
Default: 'auto'
Sets the tone of the component, based on the intention of the information being conveyed.
* type
"strong" | "generic" | "address" | "redundant"
Default: 'generic'
Provide semantic meaning and default styling to the text.
Other presentation properties on Text override the default styling.
## Slots
* children
HTMLElement
The content of the Text.
### Examples
* #### Code
##### jsx
```jsx
Name:
Jane Doe
```
##### html
```html
Name:
Jane Doe
```
## Useful for
* Adding inline text elements such as labels or line errors.
* Applying different visual tones and text styles to specific words or phrases within a `s-paragraph`, such as a `strong` type or `critical` tone.
## Best practices
* Use plain and clear terms.
* Don't use jargon or technical language.
* Don't use different terms to describe the same thing.
* Don't duplicate content.
## Examples
Component examples
### Basic usage
### Examples
* #### Basic Usage
##### Description
Standard text content for general interface messaging and descriptions.
##### jsx
```jsx
Manage your products and inventory from one dashboard.
```
##### html
```html
Manage your products and inventory from one dashboard.
```
* #### Strong Text
##### Description
Emphasized text for important messages and call-to-actions.
##### jsx
```jsx
Free shipping on orders over $50
```
##### html
```html
Free shipping on orders over $50
```
* #### Semantic Address
##### Description
Structured address text with proper semantic meaning for screen readers.
##### jsx
```jsx
123 Commerce Street, Toronto, ON M5V 2H1
```
##### html
```html
123 Commerce Street, Toronto, ON M5V 2H1
```
* #### Tabular Numbers
##### Description
Monospace number formatting for consistent alignment in tables and financial data.
##### jsx
```jsx
$1,234.56
```
##### html
```html
$1,234.56
```
* #### Status Tones
##### Description
Color-coded text indicating different status states and semantic meanings.
##### jsx
```jsx
Order fulfilled
Payment failed
Low inventory
```
##### html
```html
Order fulfilled
Payment failed
Low inventory
```
* #### Accessibility Hidden Text
##### Description
Text visible only to screen readers for providing additional context.
##### jsx
```jsx
Product prices include tax
```
##### html
```html
Product prices include tax
```
* #### Right-to-Left Text
##### Description
Text direction support for RTL languages like Arabic and Hebrew.
##### jsx
```jsx
محتوى النص باللغة العربية
```
##### html
```html
محتوى النص باللغة العربية
```
* #### Subdued Color
##### Description
Lower contrast text for secondary information and timestamps.
##### jsx
```jsx
Last updated 2 hours ago
```
##### html
```html
Last updated 2 hours ago
```
* #### Interest For Association
##### Description
Text element associated with tooltips using the \`interestFor\` attribute to show additional information on hover or focus.
##### jsx
```jsx
<>
SKU must be unique across all products and cannot be changed after creation
What is a product SKU?
>
```
##### html
```html
SKU must be unique across all products and cannot be changed after creation
What is a product SKU?
```