xref: /openbmc/webui-vue/docs/guide/components/page-section/index.md (revision be6858c06bfbd1e06935ad01b743c1043f74488a)
1# Page section
2
3The `<page-section>` component will render semantic HTML. By adding a `:section-title` prop to the `<page-section>` component, the localized text string will be rendered in an `h2` header element.
4
5``` vue
6// Example: `src/views/AccessControl/Ldap/Ldap.vue`
7    <page-section :section-title="$t('pageLdap.settings')">
8```
9
10[View the page section component source code](https://github.com/openbmc/webui-vue/blob/master/src/components/Global/PageSection.vue).