summaryrefslogtreecommitdiff
path: root/docs/guide/components/page-section/index.md
blob: 94113c586916a5348ef1f93ba943b6cab121b28c (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')">
```

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