Skip to content
Twentyfirst UIPro

Service Mark

Connectors · ServiceMark, Panel

View as Markdown

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) and lg (48px); any tint.
  • logo takes an <img> or <svg> you are allowed to use; monogram overrides the letters.
  • decorative hides 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

PropTypeNotes
namestringThe service's name: the accessible name, and the monogram when there is no icon or logo.
icon?IconNameA brand logo (`brandGmail` …) or a line icon.
logo?ReactNodeYour own logo (an `<img>` or `<svg>`) instead of the icon.
monogram?stringLetters for the monogram (default: the initials of `name`).
size?"sm" | "md" | "lg"24, 36 (default) or 48 px.
tint?Tint | "plain"
status?ServiceStateA dot in the corner with the state in words for screen readers.
decorative?booleanHidden from screen readers when the name is written next to it.
className?stringExtra class on the root element.
style?CSSPropertiesInline style on the root element.

Panel

PropTypeNotes
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?stringExtra class on the root element.
style?CSSPropertiesInline style on the root element.