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