Skip to main content

Secondary


Secondary buttons allow users to select secondary or non-critical actions. This element supports labels, icons, events, and conditional read-only states. Common use cases include choosing among options in a flow.

Secondary button preview with 'Label'

Properties

PropertyValueDescription
TypeSecondaryUI component type
GroupButtonBelongs to the "Button" group in UI catalog
Identifier43Unique element ID
PreviewSee image preview above
Read-onlyYAppears but does not allow interaction
Text, IconYSupports both text and icons
EventYTriggers an event when clicked
MandatoryOptional unless configured otherwise
ChildrenNo nested children elements
ShadeNo background shade option
ListNot a list container
MinNo minimum value requirement
MaxNo maximum value constraint

Usage Example

<Button variant="secondary" label="Company A" onClick={handleSelectCompany} />

SDK Integration

The Walk-in Coverage screen uses this element. It links to the SDK method:

Method: walk-in/coverage

Prompts the doctor to select the patient’s insurance provider before proceeding.


Example UI Placement

LevelIDTypeValueDescription
1company aSecondaryCompany A's nameCoverage option selection
1company bSecondaryCompany B's nameCoverage option selection

Notes

  • This button appears in lists where the user selects between multiple named options.
  • The background uses a soft fill to distinguish it from primary actions.
  • Suitable for flow steps where the user selects but does not confirm a final action.