uzmaps_ui 1.0.0
uzmaps_ui: ^1.0.0 copied to clipboard
The UzMaps design system — Material 3 theme from brand tokens, motion components, skeletons, sheets, toasts and states.
uzmaps_ui #
The UzMaps design system: a Material 3 theme built from brand tokens, plus the components every UzMaps surface composes.
- Theme — light and dark
ThemeDataderived fromuzmaps_coretokens, tuned for text over a live map. - Components — buttons, chips, cards, list rows, rating stars, status pills, avatars: opinionated, motion-first, theme-driven.
- Drag sheet — a bottom sheet with snap points, spring settle and height reporting, the backbone of the map layout.
- Feedback — overlay toasts with kinds, an offline banner, retry-able error states and empty states.
- Skeletons — shimmer placeholders shaped like real content, so loading states never flash.
Install #
dependencies:
uzmaps_ui: ^1.0.0
Use #
MaterialApp(
theme: UzTheme.light(),
darkTheme: UzTheme.dark(),
);
UzButton(label: 'Directions', icon: Icons.directions, expand: true, onPressed: go);
UzToasts.show(context, 'Saved to favorites', kind: ToastKind.success);
The UzMaps family #
| Package | Role |
|---|---|
uzmaps_core |
tokens, motion, strings, state |
uzmaps_api |
the typed UzMap server client |
uzmaps_ui |
the design system on top of core — you are here |
uzmaps_kit |
the complete map experience |
License #
BSD-3-Clause. See LICENSE.