跳到主要内容

Data display

Components that show a value rather than take one: text and headings, avatars, badges and tags, room icons and logos, and cards.

Overview​

The following components are available:

ComponentDescription
AvatarRound picture of a person or a group, falling back to initials, with an optional role badge and an edit menu.
BadgeSmall coloured pill for a count or a short marker, announced as a live status region.
CardGrey panel with an optional header row, for a block of related information.
CategoryItemSettings-page entry: a linked title, a line of explanation, an arrow, and an optional paid badge.
CollapsibleCardPanel whose header is a button that expands and collapses the body under it.
HeadingSection title rendered as a real heading element, sized by a preset rather than by its level.
MCPIconSquare icon for an MCP server: its logo, or the first letter of its name on a grey tile.
PortalLogoThe portal's white-label logo, fetched from the DocSpace server and swapped for the theme.
QuickActionsHorizontal strip of large icon tiles that scrolls when the tiles no longer fit.
RoomIconSquare room tile that shows the room's logo, or its initials on a colour when there is none.
RoomLogoFixed 32px glyph saying which kind of room this is, with an optional selection checkbox.
RoomTypeRow offering one kind of room, with its glyph, its translated name and its description.
SelectedItemChip with a cross, for a value the user has picked and can take back.
TagSmall outlined label for one keyword, clickable and optionally removable.
TagsOne row of tags that keeps to its width, collapsing the rest into an overflow tag.
TextBody text at the kit's size and weight, rendered through whichever element you name.