@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.
Contents
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 | |
| 7.2.79 | Apache-2.0 | |
| 7.2.78 | Apache-2.0 | |
| 7.2.77 | Apache-2.0 | |
| 7.2.71 | Apache-2.0 | |
| 7.2.70 | Apache-2.0 | |
| 7.2.69 | Apache-2.0 | |
| 7.2.68 | Apache-2.0 | |
| 7.2.67 | Apache-2.0 | |
| 7.2.66 | Apache-2.0 | |
| 7.2.65 | Apache-2.0 | |
| 7.2.64 | Apache-2.0 | |
| 7.2.63 | Apache-2.0 | |
| 7.2.62 | Apache-2.0 | |
| 7.2.61 | Apache-2.0 | |
| 7.2.60 | Apache-2.0 | |
| 7.2.59 | Apache-2.0 | |
| 7.2.58 | Apache-2.0 | |
| 7.2.57 | Apache-2.0 | |
| 7.2.55 | Apache-2.0 | |
| 7.2.54 | Apache-2.0 | |
| 7.2.53 | Apache-2.0 | |
| 7.2.50 | Apache-2.0 | |
| 7.2.49 | Apache-2.0 | |
| 7.2.48 | Apache-2.0 | |
| 7.2.47 | Apache-2.0 |
Showing the latest 30 of 253. See every release on npm
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 |