summaryrefslogtreecommitdiff
path: root/docs/guide/components/page-section/index.md
blob: a37d67c2462829fca546658be033a07d58b94757 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
# Page section

The `<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.

```vue
// Example: `src/views/AccessControl/Ldap/Ldap.vue`
<page-section :section-title="$t('pageLdap.settings')"></page-section>
```

[View the page section component source code](https://github.com/openbmc/webui-vue/blob/master/src/components/Global/PageSection.vue).