@nativescript-community/ui-material-dialogs

Material Design Dialogs inform users about a task and can contain critical information, require decisions, or involve multiple tasks.
19,922 234
Install
npm install @nativescript-community/ui-material-dialogs
Latest Version:7.3.4
License:Apache-2.0
Last Updated:Oct 12, 2026
Links: GitHub  ·  npm
Maintainer: classicoldsong

NativeScript Material Dialogs

Material Design's Dialogs component for NativeScript.

npm npm

Contents

  1. Installation
  2. Changelog
  3. FAQ
  4. Usage

Installation

For NativeScript 7.0+

  • tns plugin add @nativescript-community/ui-material-dialogs

For NativeScript 6.x

  • tns plugin add nativescript-material-dialogs

If using tns-core-modules

  • tns plugin add nativescript-material-dialogs@2.5.4

Be sure to run a new build after adding plugins to avoid any issues.

Changelog

FAQ

Usage

Uses the same API as NativeScript Dialogs.

Adds one option for alert:

  • view : can be a NativeScript View or a path to to XML component. The custom view will be added to the dialog. Possibilities become endless.

TS

import { login, alert, prompt } from "@nativescript-community/ui-material-dialogs";

alert("Your message").then(()=> {
    console.log("Dialog closed!");
});

Related Packages

@nativescript-community/ui-material-tabs

Material Design Tabs organize content across different screens, data sets, and o...

96,753 234
@nativescript-community/ui-material-ripple

The Material Design Ripple component provides a radial action in the form of a v...

64,002 234
@nativescript-community/ui-material-bottomsheet

Material Design Bottom Sheets slide up from the bottom of the screen to reveal m...

34,290 234
@nativescript-community/ui-material-textfield

Material Design Text fields allow users to input text into your app.

18,004 234
@nativescript-community/ui-material-button

Material Design Buttons allow users to take actions, and make choices, with a si...

16,253 234

Version History

Version Released License
7.3.4 Apache-2.0
7.3.3 Apache-2.0
7.3.2 Apache-2.0
7.3.1 Apache-2.0
7.2.80 Apache-2.0
Pre-releases (4)
Version Released License
6.2.14-alpha.1 Apache-2.0
6.2.14-alpha.0 Apache-2.0
5.4.0-alpha.4 Apache-2.0
5.3.4-alpha.0 Apache-2.0