hsds_mobile 0.3.1 copy "hsds_mobile: ^0.3.1" to clipboard
hsds_mobile: ^0.3.1 copied to clipboard

HeadSpace Design System — mobile component library (Flutter / Dart)

0.3.0 - 2026-04-21 #

Added #

  • HsdsTextField — single-line text field with animated floating label, helper text, error state, read-only mode, and password toggle (eye icon). Requires HsdsThemeProvider.
  • HsdsTextArea — multi-line text area with animated floating label, character count display (enforced), helper text, and error state. Auto-expands vertically with content.
  • HsdsTextStyles.mobileBodyM — 16px Regular typography token used by text input components.
  • HsdsTextStyles.mobileEyebrow — 11px SemiBold typography token for section labels.

0.2.0 - 2026-04-02 #

Added #

  • HsdsButton — Flutter button widget with 11 variants (primary, secondary, tertiary, ghost, staticBlack, staticWhite, critical, success, warning, textPrimary, textSecondary), 5 sizes (large, mediumLarge, medium, small, xSmall), and full state support (enabled, pressed, disabled, loading).
  • HsdsButtonVariant and HsdsButtonSize enums.
  • HsdsColorScheme — semantic color data class with light() and dark() factories.
  • HsdsThemeThemeExtension<HsdsTheme> carrying the active HsdsColorScheme. Access via HsdsTheme.of(context).
  • HsdsThemeProvider — widget that injects HsdsTheme into the tree, auto-switching light/dark based on system brightness.
  • HsdsColorPrimitives — raw hex Color constants (replaces HsdsColors).

Changed #

  • HsdsColors renamed to HsdsColorPrimitives. Update imports: import 'package:hsds_mobile/hsds_mobile.dart' — no token values changed.

0.1.0 #

Added #

  • HsdsBottomNav — persistent tab bar supporting 3–5 items with active/inactive states, tablet breakpoint (120dp inset), and iOS home indicator.
  • HsdsBottomNavItem — data class for tab label and icon pair.
  • HsdsBottomNavIcons — bundled SVG icon sets for Today, Explore, Profile, Care, and Ebb tabs.
  • Design tokens: HsdsColors, HsdsSpacing, HsdsTextStyles.
  • Headspace Apercu font bundled (all weights).
0
likes
155
points
35
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

HeadSpace Design System — mobile component library (Flutter / Dart)

Homepage
Repository (GitHub)

License

MIT (license)

Dependencies

flutter, flutter_svg

More

Packages that depend on hsds_mobile