Skip to main content

Bar


Bars are horizontal visual dividers that separate content within sections or screens. Use Bar components to visually group related UI elements and create layout rhythm, especially between form blocks or content groups.

Bar component preview

Properties

PropertyValueDescription
TypeBarUI component type
GroupGapPart of the layout spacing group
Identifier18Unique element ID
PreviewSee image preview above
Read-onlyYStatic element with no interactivity
ChildrenDoes not contain nested elements
EventNo event behavior
ValueNot value-based
MandatoryNot applicable
ErrorNot applicable
MinNot applicable
MaxNot applicable
ListNot a list container
Text, IconNo label or icon
ShadeMay render as a shaded horizontal line

Usage Example

<>
<Section title="Charges" />
<Edit label="Service" />
<Edit label="Amount" />
<Bar />
<Section title="Documents" />
</>

SDK Integration

The Visit Took Place wizard uses Bar components between the "Summary," "Charges," and "Documents" sections. These Bars do not contain data and serve as visual layout markers only.

Method: /account/reset-password

Use Bars to visually separate blocks without using additional headings or structural containers.


Example UI Placement

LevelReferenceTypeDescription
2barBarSeparates summary from charges
2header-spacerSpacerFollows Bar for layout spacing
2charges-headerSectionCharge section title

Notes

  • Do not use Bar to substitute for semantic structure.
  • Use Spacer components before or after a Bar to adjust layout spacing.
  • Combine with Section, Group, or Tabs for clean visual hierarchy.