--- title: HeadingGroup description: 'This groups headings together, much like the hgroup element 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/headinggroup md: >- https://shopify.dev/docs/api/admin-extensions/2024-10/components/titles-and-text/headinggroup.md --- # Heading​Group This groups headings together, much like the hgroup element in HTML. Examples ## Preview ![](https://shopify.dev/images/templated-apis-screenshots/admin-extensions/2024-10/headinggroup-default.png) ### Examples * #### Simple HeadingGroup example ##### React ```tsx import { render, HeadingGroup, Heading, } from '@shopify/ui-extensions-react/admin'; render('Playground', () => ); function App() { return ( <> Heading

Heading

Heading

); } ``` ##### JS ```js import { extend, HeadingGroup, Heading, BlockStack, } from '@shopify/ui-extensions/admin'; extend('Playground', (root) => { const headingGroup = root.createComponent(BlockStack, undefined, [ root.createComponent(Heading, undefined, 'Heading

'), root.createComponent(HeadingGroup, undefined, [ root.createComponent(Heading, undefined, 'Heading

'), root.createComponent(HeadingGroup, undefined, [ root.createComponent(Heading, undefined, 'Heading

'), ]), ]), ]); root.appendChild(headingGroup); }); ``` ## Related [- Heading](https://shopify.dev/docs/api/admin-extensions/components/titles-and-text/heading)