Page Section

ランディングページのセクション:アイコン、ヘッドライン、本物の見出しとしてのタイトル、説明、アイコンとリンク付きの機能グリッド、横または下に置くメディア。

対応フレームワーク
  • Angular: 対応
  • Vue: 対応
  • React: 対応
  • React Native: 未対応

使い方

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.

インポート

ts
import {
  SonePageFeatureComponent,
  SonePageFeaturesComponent,
  SonePageSectionComponent,
  SonePageSectionLinksDirective,
} from "@surface-one/angular/page-section";

API リファレンス

SonePageFeatureComponentコンポーネント

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

セレクター
sone-page-feature
入力
名前型 デフォルト
title必須string—
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

SonePageFeaturesComponentコンポーネント

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

セレクター
sone-page-features
入力
名前型 デフォルト
featuresreadonly PageFeatureItem[][]
orientationPageFeatureOrientation"vertical"
level

The features' heading level, 1–6.

HeadingLevel3

SonePageSectionComponentコンポーネント

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

セレクター
sone-page-section
入力
名前型 デフォルト
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

SonePageSectionLinksDirectiveディレクティブ

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

セレクター
[sonePageSectionLinks]