Skip to Content
SmartUI

Introduction

SmartUI is the design system behind SmartCare and SmartMCU. One design language, one token source, two densities.

SmartUI gives every SmartCare and SmartMCU product the same look, the same vocabulary and the same behavior. It ships as tokens, React components for the web, and React Native components for the app.

Principles

  1. Content first. Screens put data and one main action forward. The brand color is for actions, not decoration.
  2. Solid content, glass controls. Cards, tables and forms are always solid. Glass is only for floating control layers: bars, docks, sidebars and menus.
  3. One vocabulary. Variant, size and state names are the same in every component, in design and in code.
  4. Usable by everyone. Text contrast of at least 4.5:1, touch targets of at least 44 px, and a visible keyboard focus.

Two densities

The tokens are the same. Only the default size each product uses is different.

DensityUsed byDefault control sizeBody text
TouchSmartCare app and patient weblg (48)17 px
DeskSmartMCU dashboard and clinic portalmd (40), sm (32) in toolbars14 px

Packages

PackageWhat it holds
@smartui/tokensColors, spacing, radius, type and motion as CSS variables and typed values
@smartui/reactWeb components, built on React Aria for keyboard and screen reader behavior
@smartui/nativeReact Native components for the Expo app

On this page