UI Components
AFCoreUI is an optional design system that ships alongside the AFCore SDK. It gives you themed building blocks and feature views designed around AFCore's data, so you can put a branded member experience on screen in days instead of weeks. AFCore does not depend on it: you can ship a fully custom UI and ignore AFCoreUI entirely.
| Platform | Module |
|---|---|
| iOS | ui/afcore-ui-ios -- AFCoreUI Swift Package |
| Android | ui/afcore-ui-android -- AFCoreUI Compose library |
What you get
- A theme: the Advanta Health palette in light and dark, with typography and spacing you can override to rebrand.
- Primitives: cards, progress rings, status badges, banners, empty states, skeleton loaders and help sheets.
- Feature views: onboarding pages, a permissions explainer, the activity calendar, a check-in sheet, a barcode scanner, a clustered facility map and the Mental Fitness swipe deck.
- Commerce components for rewards screens such as ActivePerks: merchant rows and maps, gift cards, balances, amount pickers and checkout scaffolding.
- The same names on both platforms, so iOS and Android teams can read each other's UI code.
When to skip it
- You already have a design system.
- You want a look that does not share AFCoreUI's typography and spacing.
- You need only one or two components -- copy them from the source instead.
Per-platform pages
Learn more
The package READMEs in the repository list every component. Complete integration guides are in AIDE Docs.