Mark

Ein App- oder Quellenzeichen: eine kleine abgerundete Kachel mit einem Verlauf in einem von zwölf Farbtönen und einem weißen Symbol, in einer vordefinierten oder beliebigen Größe.

Verfügbar für
  • Angular: verfügbar
  • Vue: verfügbar
  • React: verfügbar
  • React Native: verfügbar

Verwendung

Import

ts
import {
  SoneMarkComponent,
} from "@surface-one/angular/mark";

API-Referenz

SoneMarkComponentKomponente

`<sone-mark>` — an app or source mark: a small rounded tile (28% of its size round) with a gradient `tone` and a white glyph. Decorative by default (`aria-hidden`); give it a `label` when nothing next to it names what it stands for, and it becomes an image.

Selektor
sone-mark
Inputs
NameTyp Standard
iconShellIcon"layout-grid"
toneMarkTone"brand"
size

`sm` (20), `md` (28), `lg` (40) or a size in px.

MarkSize"md"
label

The accessible name; leave it out when text beside the mark already names it.

string | nullnull