Skip to main content

Count


The Count element displays a numerical badge to highlight a quantity or status. It is typically used within summaries, cards, or dashboards to convey counts such as unread messages, completed actions, or available options. This element displays as static and read-only.

Circular blue badge with the number 1 inside

Properties

PropertyValueDescription
TypeCountUI component type
GroupTextPart of the Text group
PreviewSee image preview above
MaxLinesRepresents maximum line or layout thresholds
Text, IconYDisplays number inside a visual indicator
Read-onlyAlways non-interactive
ChildrenDoes not accept nested components
EventNo event logic attached
ShadeNo background shading metadata
ValueNot a form input
MandatoryNot required
ErrorNo validation logic
MinNot applicable
ListNot a list container

Usage Example

<Count value={3} />

SDK Integration

The Appointments List screen uses this element to display indicators such as appointment volume, item sequence, or notification counts.

Method: /profile/appointments/list

The method retrieves a grouped list of appointments. Each record may include visual indicators rendered using the Count element, depending on view and layout variant.


Example UI Placement

LevelIDTypeDescription
3CountDisplays quantity in patient cards

Notes

  • Use for small circular or inline numeric badges.
  • Avoid applying in input-driven contexts.
  • Combine with Section, Text, or Card elements for summary blocks.