# Text label for momentary button?

**URL:** <https://discourse.nodered.org/t/text-label-for-momentary-button/44311>\
**Category:** Dashboard\
**Created:** [17 April 2021 07:49 UTC](https://discourse.nodered.org/t/text-label-for-momentary-button/44311 "2021-04-17T07:49:10Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Fluidus](https://avatars.discourse-cdn.com/v4/letter/f/f04885/32.png) [@Fluidus](https://discourse.nodered.org/u/Fluidus)\
**Post date:** [17 April 2021 07:49 UTC](https://discourse.nodered.org/t/text-label-for-momentary-button/44311/1 "2021-04-17T07:49:11Z")

</div>

I'm glad I found a solution for a momentary button in the dashboard. A helpful user managed it with a ui\_template node and it is now a FAQ:

> [@Momentary switch or button (normally open)](https://discourse.nodered.org/t/momentary-switch-or-button-normally-open/36768):
>
> Hi, first time poster and newbie. crazy_face I've been searching all over for a way to put a momentary button on my node red dashboard. Something that goes high while pressed and back to low when left go. I didn't find anything like that in the library here. Anyone know of such a thing? Thanks in advance, Bob

But how to place a text label near the momentary button?  
At the moment I'm using a ui\_text node, fill the Label field with my text "Softbutton1" for example and place that loose node somewhere in my flow:

![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/4/b/4bcfb8be9db678e45e8c2d17d9cb0a1a946f32b3.png)

Is the ui\_text node the only way to place text near the momentary button?

---

<div class="post-metadata">

**Author:** ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)\
**Post date:** [17 April 2021 07:51 UTC](https://discourse.nodered.org/t/text-label-for-momentary-button/44311/2 "2021-04-17T07:51:35Z")

</div>

> [@Fluidus](#):
>
> Is the ui\_text node the only way to place text near the momentary button

Of course not. Just add whatever text you want to the ui\_template. It's just HTML at the end of the day.

---

<div class="post-metadata">

**Author:** ![Fluidus](https://avatars.discourse-cdn.com/v4/letter/f/f04885/32.png) [@Fluidus](https://discourse.nodered.org/u/Fluidus)\
**Post date:** [17 April 2021 08:03 UTC](https://discourse.nodered.org/t/text-label-for-momentary-button/44311/3 "2021-04-17T08:03:29Z")

</div>

Without an example I'm lost (not familiar with javascript/angular/html).  
But good to know another solution exists, thank you Steve-Mcl.  
Another problem I expect: How to integrate text based on HTML into the grid/tiles of the dashboard?

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [17 May 2021 08:04 UTC](https://discourse.nodered.org/t/text-label-for-momentary-button/44311/4 "2021-05-17T08:04:09Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
