Service Mark
Connectors · ServiceMark, Panel
A connected service's mark: its brand logo from the icon library (brandGmail, brandTesla …), your own logo, or a monogram for a service without a logo ("KS" for a local nursery). An optional dot shows the connection state, and screen readers hear it in words ("N26, Needs attention").
- Sizes
sm(24px),md(36px) andlg(48px); any tint. logotakes an<img>or<svg>you are allowed to use;monogramoverrides the letters.decorativehides it from screen readers when the name is written next to it.
Service marks
Brand logo, your own logo or a monogram
KS
Props
ServiceMark
| Prop | Type | Notes |
|---|---|---|
name | string | The service's name: the accessible name, and the monogram when there is no icon or logo. |
icon? | IconName | A brand logo (`brandGmail` …) or a line icon. |
logo? | ReactNode | Your own logo (an `<img>` or `<svg>`) instead of the icon. |
monogram? | string | Letters for the monogram (default: the initials of `name`). |
size? | "sm" | "md" | "lg" | 24, 36 (default) or 48 px. |
tint? | Tint | "plain" | |
status? | ServiceState | A dot in the corner with the state in words for screen readers. |
decorative? | boolean | Hidden from screen readers when the name is written next to it. |
className? | string | Extra class on the root element. |
style? | CSSProperties | Inline style on the root element. |
Panel
| Prop | Type | Notes |
|---|---|---|
side? | boolean | |
title? | string | |
subtitle? | string | |
action? | ReactNode | |
children? | ReactNode | |
surface? | Surface | `"glass"`: translucent glass over what is behind (maps, 3D, video, photos); `"solid"` opts out inside a glass `UIProvider`. |
className? | string | Extra class on the root element. |
style? | CSSProperties | Inline style on the root element. |