Skip to main content

Paragraph

Use this to display a block of text similar to the <p> tag in HTML.

Size of the typography's font.

Use to emphasize a word or a group of words.

Sets the weight of the font.

string

A unique identifier for the element.

Set how hidden overflow content is signaled to users.

Was this section helpful?

Simple Paragraph example

import {
render,
BlockStack,
Paragraph,
} from '@shopify/ui-extensions-react/admin';

render('Playground', () => <App />);

function App() {
return (
<BlockStack inlineAlignment='center' gap>
<Paragraph fontWeight='bold'>Name:</Paragraph>
<Paragraph>Jane Doe</Paragraph>
</BlockStack>
)
}

Preview