Skip to main content

UI Components

AFCoreUI is an optional design system that ships alongside the AFCore SDK. It gives you themed primitives and feature views so you can skip the design lift and integrate the SDK in days instead of weeks.

PlatformModuleStatus
iOSui/afcore-ui-iosAFCoreUI Swift PackageProduction-ready; ships as a sibling product alongside AFCore SPM
Androidui/afcore-ui-androidAFCoreUI Compose libraryTheme scaffold; primitives & feature views landing per the iOS surface

Both surfaces are opt-in. AFCore the SDK does not depend on either — you can ship a fully custom UI and ignore AFCoreUI entirely.


Why use AFCoreUI

  • Branded out of the boxAFCoreUITheme.advantaHealth (light + dark) is the AdvantaHealth palette; override palette to rebrand
  • AFCore-aware — components like ActivityCalendarView, BarcodeScannerView, and SpotItDeckView are designed against the AFCore data shapes
  • Symmetric across platforms — the iOS and Android surfaces converge on the same component names and parameters, so your iOS and Android teams can read each other's UI

When to skip it

  • You already have a design system
  • You want a fully custom look that doesn't share AFCoreUI's typography / spacing primitives
  • You only need a couple of components — copy what you need from the source, no library dep required

Per-platform docs