summaryrefslogtreecommitdiff
path: root/docs/guide/components/page-section/index.md
blob: ccf654e1c1c8f346424a464ff3cadf43ecb12c99 (plain)
1
2
3
4
5
6
7
8
9
10
# 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).