--- title: Heading description: Use this to display a title. It's similar to the h1-h6 tags in HTML api_version: 2024-10 api_name: admin-extensions source_url: html: >- https://shopify.dev/docs/api/admin-extensions/2024-10/components/titles-and-text/heading md: >- https://shopify.dev/docs/api/admin-extensions/2024-10/components/titles-and-text/heading.md --- # Heading Use this to display a title. It's similar to the h1-h6 tags in HTML ## HeadingProps * id string A unique identifier for the field. * size Level The visual size of the heading. There are no guarantee that the level set will render the same level in the HTML `` element. The heading level that gets rendered is determined by the parent `HeadingGroup` or `Section` component. ### Level ```ts 1 | 2 | 3 | 4 | 5 | 6 ``` Examples ## Preview ![](https://shopify.dev/images/templated-apis-screenshots/admin-extensions/2024-10/heading-default.png) ### Examples * #### Simple Heading example ##### React ```tsx import {render, Heading} from '@shopify/ui-extensions-react/admin'; render('Playground', () => ); function App() { return Store name; } ``` ##### JS ```js import {extend, Heading} from '@shopify/ui-extensions/admin'; extend('Playground', (root) => { const heading = root.createComponent(Heading, undefined, 'Headings are cool'); root.appendChild(heading); }); ``` ## Related [- Text](https://shopify.dev/docs/api/admin-extensions/components/titles-and-text/text) [- HeadingGroup](https://shopify.dev/docs/api/admin-extensions/components/titles-and-text/headinggroup)