How nativescript-community/ui-material-components works
NativeScript Material Components is a monorepo of native UI widgets exposed through NativeScript and framework-specific adapters. An app developer configures a NativeScript app and uses widgets such as indicators, navigation, inputs, and dialogs; the platform implementations render the corresponding native controls. The graph preserves the documented theming and mixin capabilities as well as major component families visible in the repository tree. Several subsystem links are dashed because their implementation files were not sampled; relationships shown directly in excerpts or documented in the README are cited.
Main entry points: core/index.ios.ts Theme and mixins · bottom-navigation/index.ios.ts Bottom navigation · index-common.ts Tab navigation · button-common.ts Button
Components 26
Shared foundation
- Theme and mixins
src/core/index.ios.ts - Android utilities
src/core/android/utils.ts
Navigation
- Bottom navigation
src/bottom-navigation/index.ios.ts - Bottom navigation bar
src/bottomnavigationbar/bottomnavigationbar-common.ts - Tab navigation base
src/core-tabs/tab-navigation-base/index.ts - Tab navigation
src/core-tabs/tab-navigation/index-common.ts - Tab strip items
src/core-tabs/tab-strip-item/index.ts - Tabs
src/tabs/index.ios.ts - Segmented bar
src/segmentedbar/index.android.ts
Inputs and controls
- Button
src/button/button-common.ts - Slider
src/slider/slider.android.ts - Switch
src/switch/index-common.ts - Text field
src/textfield/textfield.common.ts - Text view
src/textview/textview.common.ts
Feedback
- Activity indicator
src/activityindicator/index-common.ts - Progress indicator
src/progress/progress.android.ts - Snackbar
src/snackbar/snackbar-common.ts - Ripple
src/ripple/ripple-common.ts
Surfaces and actions
- Dialogs
src/dialogs/dialogs-common.ts - Bottom sheet
src/bottomsheet/bottomsheet-common.ts - Card view
src/cardview/cardview-common.ts - Floating action button
src/floatingactionbutton/floatingactionbutton.android.ts - Speed dial
src/speeddial/index.ts - App bar
src/appbar/appbar-common.ts
Other components
- App developer
- NativeScript app
Connections 30
- App developer → NativeScript app: builds with
README.md - NativeScript app → Activity indicator: uses widget
README.md - NativeScript app → Bottom navigation: uses navigation
README.md - App developer → Theme and mixins: configures theme
README.md - App developer → Theme and mixins: installs mixins
README.md - Bottom navigation → Tab navigation base: uses tab model
src/bottom-navigation/index.ios.ts - Bottom navigation → Tab navigation: uses tab behavior
src/bottom-navigation/index.ios.ts - Bottom navigation → Tab strip items: emits tab tap
src/bottom-navigation/index.ios.ts - Tab navigation → Tab navigation base: extends base
src/core-tabs/tab-navigation/index.ios.ts - Tab navigation → Tab strip items: uses strip items
src/core-tabs/tab-navigation/index.ios.ts - Tabs → Tab navigation: uses navigation
src/tabs/index.ios.ts - Segmented bar → Button: extends button
src/segmentedbar/index.android.ts - Activity indicator → Theme and mixins: uses theme
- Bottom navigation → Theme and mixins: uses theme
- Button → Theme and mixins: uses shared core
- Bottom navigation bar → Theme and mixins: uses shared core
- Slider → Theme and mixins: uses shared core
- Switch → Theme and mixins: uses shared core
- Text field → Theme and mixins: uses shared core
- Text view → Theme and mixins: uses shared core
- Progress indicator → Theme and mixins: uses shared core
- Snackbar → Theme and mixins: uses shared core
- Ripple → Theme and mixins: uses shared core
- Dialogs → Theme and mixins: uses shared core
- Bottom sheet → Theme and mixins: uses shared core
- Card view → Theme and mixins: uses shared core
- Floating action button → Theme and mixins: uses shared core
- Speed dial → Button: creates buttons
src/speeddial/index.ts - App bar → Theme and mixins: uses shared core
- Theme and mixins → Android utilities: uses Android helpers