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.

Verfügbar für
  • 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.

Import

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

Selektor
sone-page-feature
Inputs
NameTyp Standard
titleerforderlichstring—
descriptionstring | nullnull
iconShellIcon | nullnull
href

Makes the whole feature a link.

string | nullnull
orientation

`vertical` puts the icon above the copy, `horizontal` beside it.

PageFeatureOrientation"vertical"
level

The title's heading level, 1–6.

HeadingLevel3

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.

Selektor
sone-page-features
Inputs
NameTyp Standard
featuresreadonly PageFeatureItem[][]
orientationPageFeatureOrientation"vertical"
level

The features' heading level, 1–6.

HeadingLevel3

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.

Selektor
sone-page-section
Inputs
NameTyp Standard
titlestring | nullnull
headline

A short line above the title.

string | nullnull
descriptionstring | nullnull
icon

A SurfaceOne glyph in a tile above the headline.

ShellIcon | nullnull
links

Calls to action, drawn as buttons (the first `default`, the rest `outline`).

readonly PageLink[][]
features

The features grid under the copy.

readonly PageFeatureItem[][]
orientationPageSectionOrientation"vertical"
reverse

Puts the media first (horizontal).

booleanfalse
level

The title's heading level, 1–6.

HeadingLevel2

SonePageSectionLinksDirectiveDirektive

`[sonePageSectionLinks]` — your own actions after the section's links.

Selektor
[sonePageSectionLinks]