Home/Components

Design system

The v3 component library. Every primitive consumes the same semantic tokens defined in globals.css. Re-skinning the entire product is a CSS-only change.

Brand colors

The token palette behind every component.

50
100
200
300
400
500
600
700
800
900
50
100
200
300
400
500
600
700
700
700
bg-primary
--primary
bg-accent
--accent
bg-success
--success
bg-info
--info
bg-warning
--warning
bg-destructive
--destructive
bg-muted
--muted
bg-card
--card

Typography

Poppins for UI / headings · Lora for long-form prose.

Better chronic care, by design.

Patient adherence overview

Care coordinators use BettrAI to monitor patients across multiple chronic-care programs in a single, consolidated dashboard.

Your blood-pressure trend over the past 30 days is stable. Your care team has noted improved adherence to your morning medication schedule — keep it up.

GET /api/v1/patients?status=active

Buttons

8 variants × 6 sizes. asChild forwards to <Link>.

Form inputs

Required. Must be unique per tenant.

Selection controls

Badges

DefaultPrimaryAccentActiveInfoWarningCriticalOutlineSolid

Alerts

Cards

The base surface for every patient/clinical artifact.

Adherence

Last 7 days

92%

+4.2% vs last week

Open tasks

Across your caseload

14

3 due today

Active alerts

Within last 24h

2

Both critical severity

Tabs

Patient summary, demographics, programs.

Tables

PatientProgramStatusAdherence
MJMorris, Jim
RPMActive94%
CLChen, Liling
CCMActive88%
DJDoe, Jane
BHIPaused52%
PSPatel, Sanjay
APCMActive97%

Overlays

Dialog · Sheet · Popover · Dropdown · Tooltip · Toast

Loading states

BettrAI v3 design system · tokens in globals.css