Page Section
Ein Abschnitt einer Landingpage: ein Symbol, eine Dachzeile, der Titel als echte Überschrift, eine Beschreibung, ein Raster von Funktionen mit Symbolen und Links sowie Medien daneben oder darunter.
Angular: verfügbar Vue: verfügbar React: verfügbar React Native: noch nicht verfügbar
Verwendung
Features
Everything a meeting needs
From the first word to the last follow-up, without leaving the app.
Summaries
Every meeting ends with its decisions and follow-ups.
Search
Find what was said, by whom and when.
Private
Your notes stay on your own devices.
<sone-page-section
headline="Features"
title="Everything a meeting needs"
description="From the first word to the last follow-up, without leaving the app."
[level]="3"
[features]="features"
[links]="links"
/>Import
import {
SonePageFeatureComponent,
SonePageFeaturesComponent,
SonePageSectionComponent,
SonePageSectionLinksDirective,
} from "@surface-one/angular/page-section";API-Referenz
SonePageFeatureComponentKomponente
`<sone-page-feature>` — one feature of a page section (Nuxt UI PageFeature): an icon in a tile, the title as a heading (`level`, default 3) and a description; `href` makes the whole feature a link. It is a list item of `sone-page-features`.
| Name | Typ | Standard |
|---|---|---|
titleerforderlich | string | — |
description | string | null | null |
icon | ShellIcon | null | null |
hrefMakes the whole feature a link. | string | null | null |
orientation`vertical` puts the icon above the copy, `horizontal` beside it. | PageFeatureOrientation | "vertical" |
levelThe title's heading level, 1–6. | HeadingLevel | 3 |
SonePageFeaturesComponentKomponente
`<sone-page-features>` — the grid of a section's features: a list of `features` (`{ icon, title, description, href }`) or projected `sone-page-feature`s, as many columns as fit.
| Name | Typ | Standard |
|---|---|---|
features | readonly PageFeatureItem[] | [] |
orientation | PageFeatureOrientation | "vertical" |
levelThe features' heading level, 1–6. | HeadingLevel | 3 |
SonePageSectionComponentKomponente
`<sone-page-section>` — a section of a landing page (Nuxt UI PageSection): an icon, a headline, the title as a real heading (`level`, default 2), a description, a grid of `features` (their headings one level deeper) and call-to-action `links`, with the projected content as media or body. `vertical` (the default) stacks and centres the header; `horizontal` puts the copy beside the media once the block is wide enough, `reverse` swaps the sides. It is a `section` named by its title.
| Name | Typ | Standard |
|---|---|---|
title | string | null | null |
headlineA short line above the title. | string | null | null |
description | string | null | null |
iconA SurfaceOne glyph in a tile above the headline. | ShellIcon | null | null |
linksCalls to action, drawn as buttons (the first `default`, the rest `outline`). | readonly PageLink[] | [] |
featuresThe features grid under the copy. | readonly PageFeatureItem[] | [] |
orientation | PageSectionOrientation | "vertical" |
reversePuts the media first (horizontal). | boolean | false |
levelThe title's heading level, 1–6. | HeadingLevel | 2 |
SonePageSectionLinksDirectiveDirektive
`[sonePageSectionLinks]` — your own actions after the section's links.