---
title: Paragraph
description: >-
Displays a block of text and can contain inline elements such as buttons,
links, or emphasized text. Use to present standalone blocks of content as
opposed to inline text.
api_name: app-home
source_url:
html: >-
https://shopify.dev/docs/api/app-home/polaris-web-components/titles-and-text/paragraph
md: >-
https://shopify.dev/docs/api/app-home/polaris-web-components/titles-and-text/paragraph.md
---
# Paragraph
Displays a block of text and can contain inline elements such as buttons, links, or emphasized text. Use to present standalone blocks of content as opposed to inline text.
## 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.
* lineClamp
number
Default: Infinity - no truncation is applied
Truncates the text content to the specified number of lines.
* 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.
## Slots
* children
HTMLElement
The content of the Paragraph.
### Examples
* #### Code
##### jsx
```jsx
Shopify POS is the easiest way to sell your products in person. Available for
iPad, iPhone, and Android.
```
##### html
```html
Shopify POS is the easiest way to sell your products in person. Available for
iPad, iPhone, and Android.
```
## Useful for
* Displaying text content in a paragraph format.
* Grouping elements with the same style. For instance, icons inside a paragraph will automatically adopt the paragraph's tone.
## Best practices
* Use short paragraphs to make your content scannable.
* 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
Basic Usage
Demonstrates a simple paragraph with default styling, showing how to use the paragraph component for standard text content.
With Tone and Color
Illustrates how to apply different tones and color variations to convey different types of information, such as informational and success messages.
Line Clamping
Shows how to limit the number of lines displayed using the lineClamp prop, which truncates long text with an ellipsis after the specified number of lines.
Tabular Numbers
Demonstrates the use of tabular numbers with fontVariantNumeric, ensuring consistent alignment and readability for numerical data.
RTL Support
Illustrates right-to-left (RTL) text rendering, showing how the paragraph component supports internationalization and different text directions.
Screen Reader Text
Shows how to use the accessibilityVisibility prop to create text that is exclusively available to screen readers, improving accessibility for assistive technologies.
Admin UI Patterns
Showcases various tone and color combinations for different administrative messages, illustrating how paragraph can communicate different types of information in a user interface.
### Examples
* #### Basic Usage
##### Description
Demonstrates a simple paragraph with default styling, showing how to use the paragraph component for standard text content.
##### jsx
```jsx
Track inventory across all your retail locations in real-time.
```
##### html
```html
Track inventory across all your retail locations in real-time.
```
* #### With Tone and Color
##### Description
Illustrates how to apply different tones and color variations to convey different types of information, such as informational and success messages.
##### jsx
```jsx
Your order will be processed within 2-3 business days.
Payment successfully processed.
```
##### html
```html
Your order will be processed within 2-3 business days.
Payment successfully processed.
```
* #### Line Clamping
##### Description
Shows how to limit the number of lines displayed using the lineClamp prop, which truncates long text with an ellipsis after the specified number of lines.
##### jsx
```jsx
Premium organic cotton t-shirt featuring sustainable manufacturing
processes, ethically sourced materials, and carbon-neutral shipping.
Available in multiple colors and sizes with customization options for your
brand.
```
##### html
```html
Premium organic cotton t-shirt featuring sustainable manufacturing
processes, ethically sourced materials, and carbon-neutral shipping.
Available in multiple colors and sizes with customization options for your
brand.
```
* #### Tabular Numbers
##### Description
Demonstrates the use of tabular numbers with fontVariantNumeric, ensuring consistent alignment and readability for numerical data.
##### jsx
```jsx
Orders: 1,234 Revenue: $45,678.90 Customers: 890
```
##### html
```html
Orders: 1,234 Revenue: $45,678.90 Customers: 890
```
* #### RTL Support
##### Description
Illustrates right-to-left (RTL) text rendering, showing how the paragraph component supports internationalization and different text directions.
##### jsx
```jsx
محتوى النص باللغة العربية
```
##### html
```html
محتوى النص باللغة العربية
```
* #### Screen Reader Text
##### Description
Shows how to use the accessibilityVisibility prop to create text that is exclusively available to screen readers, improving accessibility for assistive technologies.
##### jsx
```jsx
Table sorted by date, newest first.
```
##### html
```html
Table sorted by date, newest first.
```
* #### Admin UI Patterns
##### Description
Showcases various tone and color combinations for different administrative messages, illustrating how paragraph can communicate different types of information in a user interface.
##### jsx
```jsx
Payment successfully processed and order confirmed.
Inventory levels are running low for this product.
This order requires immediate attention due to shipping delays.
Customer requested gift wrapping for this order.
Review shipping address before processing.
```
##### html
```html
Payment successfully processed and order confirmed.
Inventory levels are running low for this product.
This order requires immediate attention due to shipping delays.
Customer requested gift wrapping for this order.
Review shipping address before processing.
```