node-red-dashboard 2.3.8

A set of dashboard nodes for Node-RED

npm install node-red-dashboard

This module provides a set of nodes in Node-RED to quickly create a live data dashboard.

It is a continuation of the node-red-contrib-ui module created by Andrei Tatar.


Node-RED-Dashboard requires Node-RED version 0.14 or more recent.


To install the stable version run the following command in your Node-RED user directory (typically ~/.node-red):

npm i node-red-dashboard

Open your Node-RED instance and you should have UI nodes available in the palette and a new dashboard tab in the right side panel. The UI interface is available at http://localhost:1880/ui (if the default settings are used).

If you want to try the latest version from github, you can install it by

npm i node-red/node-red-dashboard

Migration from node-red-contrib-ui

These nodes will replace the contrib-ui versions. node-red-contrib-ui MUST be uninstalled before installing node-red-dashboard.

cd ~/.node-red
npm uninstall node-red-contrib-ui

In addition - some functionality is not exactly equivalent. There are breaking changes that will require some re-configuration.


Dashboard sidebar

The widget layout is now managed by a dashboard tab in the sidebar of the Node-RED editor.

  • Tabs - From here you can re-order the tabs, groups and widgets, and add and edit their properties.

  • Links - are no longer added as nodes in the workspace - they are managed in the dashboard sidebar. They can also be opened in an iframe - if allowed by the target page.

  • Style - the theme of the UI is set in the dashboard sidebar. You can select a default Light, Dark or Custom Theme. You cannot have different themes for each tab.
  • Title - the title of the UI page can be set.

  • Options - lets you optionally hide the title bar, and allow swiping sideways between tabs on a touch screen.

  • Sizes - you can set the basic geometry of the grid layout in pixels. The width and height of widgets can be set, as can the width of groups. These are all specified in units of approximately 50 pixels.


The default width of a group is 6 units as it was in contrib-ui ( ≈300 pixels ). Setting a widget to auto will fill the available width of the group. It is still advisable to use multiple groups if you can, rather than one big group, so that the page can dynamically resize on smaller screens.

Group labels are optional.

Any widget can be disabled by passing in a msg.enabled property set to false;. Note: this doesn't stop the widget receiving messages but does stop inputs being active and does re-style the widget.

  • Audio out - a widget that will let you play audio (wav or mp3) or send Text to Speech (TTS) to the client.
  • Button - the icon can be set using either Material or fa-icons - the colour and background colour may also be set. If the widget is sized to 1 wide the icon has precedence.
  • Chart - has both line, bar and pie chart modes. Also the X-Axis labels can be customised using a date formatter string. Uses the Chart.js library.
  • Colour Picker - a colour picker widget.
  • Date Picker - a date picker widget. The displayed Date format can be specified in the Site tab using moment.js formatting.
  • Dropdown - a dropdown select widget has been added. Multiple label, value pairs can be specified. The choices can also be set via msg.options containing an array of objects. If just text then the value will be the same as the label, otherwise you can specify both by using an object of "label":"value" pairs :

    [ "Choice 1", "Choice 2", {"Choice 3": 3} ]

    Setting msg.payload will pre-select the value in the dropdown.

  • Form - a widget that can be composed of several sub-widgets. When submitted all values are submitted as a single message.
  • Gauge - has 4 modes - standard (simple gauge), donut (complete 360°), compass, and wave. You can also specify the colour range of the standard and donut gauges.
  • Notification - creates alerts to the user - can either be a toast popup, or a dismissable alert box. The alert may be targeted to a single user.
  • Numeric - a Numeric input widget with up/down buttons.
  • Slider - a simple horizontal slider, with variable step size.
  • Switch - can also set two icons and/or colours depending on state.
  • Template - the template node allows the user to specify and create their own widgets within the framework using HTML, Javascript. This is an Angular.js widget. You may also use this to override the built in CSS styles.
  • Text - A read only widget, the layout of the label, and value can be configured.
  • Text input - text input box, with optional label, can also support password, email and colour modes.
  • UI-Control - allows some dynamic control of the dashboard. Sending a msg.payload of the tab number (from 0) or name will switch to that tab. Outputs a msg.payload for every browser connection and loss, that can be used to trigger other actions.

Tip: The Text widget will accept html - so you can use it together with the fa-icons we already use to create indicator type widgets.

Securing the Dashboard

You can use the httpNodeAuth property in your Node-RED settings.js file to secure the Dashboard as it is created the same way as other HTTP nodes are. The details can be found at the bottom of this page in the docs

Multiple Users

This Dashboard does NOT support multiple individual users. It is a view of the status of the underlying Node-RED flow, which itself is single user. If the state of the flow changes then all clients will get notified of that change.

Discussions and suggestions

Use the Node-RED google group:!forum/node-red or the Dashboard-ui channel in Slack

The current work in progress list is shown in the Github Project.


Before raising a pull-request, please read our contributing guide.

This project adheres to the Contributor Covenant 1.4. By participating, you are expected to uphold this code. Please report unacceptable behavior to any of the project's core team.


cd ~\.node-red\node_modules
git clone
cd node-red-dashboard
npm install

The plugin uses the dist folder if it exists and contains an index.html file. Make sure to delete it if you want to use the non-minified version. After changing the front-end code in the src folder, use gulp to update the minified files and update the appcache manifest.


We also have suggested lint and js styles that can be checked with:

gulp lint
gulp jscs

If submitting a Pull Request (PR) please do NOT include the minified /dist files.

Thank you.

Node Info

Version: 2.3.8
Updated 1 week, 1 day ago
License: Apache-2.0


468 in the last day
4198 in the last week
15954 in the last month


  • ui_button
  • ui_dropdown
  • ui_switch
  • ui_slider
  • ui_numeric
  • ui_text_input
  • ui_date_picker
  • ui_colour_picker
  • ui_form
  • ui_text
  • ui_gauge
  • ui_chart
  • ui_audio
  • ui_toast
  • ui_ui_control
  • ui_template
  • ui_link
  • ui_tab
  • ui_group


  • node-red


  • dceejay


  • Andrei Tatar
  • Dave Conway-Jones
  • Joe Pavitt
  • Nick O'Leary
  • Dan Cunnington
  • Laurence Stant