Skip to main content

Tabs


Tabs allow users to switch between multiple views or data categories within the same screen. Each tab corresponds to a container panel that becomes visible when selected. Use Tabs to group related sections such as appointment details, charges, or documents.

Tabs component preview

Properties

PropertyValueDescription
TypeTabsUI component type
GroupTabsBelongs to the "Tabs" group in UI catalog
Identifier49Unique element ID
PreviewSee image preview above
Read-onlySupports user interaction
ChildrenContains individual tab labels and tab content
EventTriggers a view update when tab selection changes
ValueNot value-based
MandatoryOptional UI element
ErrorNot applicable
MinNot applicable
MaxNot applicable
ListNot a list container
Text, IconMay include icons in tab labels (if styled)
ShadeMay be styled with underline or background fill

Usage Example

<Tabs>
<Tab label="Details" />
<Tab label="Documents" />
<Tab label="Charges" />
</Tabs>

SDK Integration

The Appointment Details screen uses Tabs on desktop to separate appointment metadata, patient records, and documents. Tabs help organize these sections without reloading the screen.

Method: /profile/appointments/{id}/details

Tabs support navigation between appointment subviews without interrupting layout flow.


Example UI Placement

LevelReferenceTypeDescription
3TabsContainer for navigation sections
3BarVisual separator under tabs
3GroupTab content panels

Notes

  • Use Tabs to reduce vertical scrolling and focus the user view.
  • Pair with Bar and Section components for better structure.
  • Do not nest Tabs within other Tabs.