Skip to main content

Card


The Card element displays structured content in a bordered container. Cards group related information such as appointment details or suggestions. Use cards to visually separate contextual items like scheduling options, patient summaries, or selectable events.

Properties

PropertyValueDescription
TypeCardUI component type
GroupBoxPart of the Box container group
Identifier4Unique element ID
PreviewSee image preview above
Read-onlyYDisplays static content
ChildrenYSupports nested components
EventYCan trigger interactions
ShadeYUses a shaded background
ValueNot a value-based element
MandatoryOptional element
ErrorNo validation logic
MinNot applicable
MaxNot applicable
ListNot a list container
Text, IconNo label or icon metadata by default

Usage Example

<Card>
<Title text="Suggested Appointment" />
<Text label="Monday, 10:00 AM – Dr. Katz" />
<Button label="Approve" />
</Card>

SDK Integration

The Offer an Appointment screen uses this element to present appointment options. The card appears again in the Need Another Appointment popup as a reusable scheduling container.

Method: /profile/appointments/{id}/offer-an-appointment
Method: /profile/appointments/{id}/offer-an-appointment/need-another

Each card includes suggested times, context, and call-to-action elements.


Example UI Placement

LevelIDTypeDescription
1alternative~1CardContains the suggested appointment offer
2May include contextual scheduling content

Notes

  • Use cards to structure complex or repeatable content units.
  • Combine with Text, Regular, and Button elements for full functionality.
  • Card elements improve scanability by isolating actionable sections.