# How to give a Switch a Label

**URL:** https://discourse.nodered.org/t/how-to-give-a-switch-a-label/97075
**Category:** Dashboard
**Tags:** dashboard-2
**Created:** [15 May 2025 08:35 UTC](https://discourse.nodered.org/t/how-to-give-a-switch-a-label/97075 "2025-05-15T08:35:19Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Naitsa](https://avatars.discourse-cdn.com/v4/letter/n/ecb155/32.png) [@Naitsa](https://discourse.nodered.org/u/Naitsa)
#### Post date: [15 May 2025 08:35 UTC](https://discourse.nodered.org/t/how-to-give-a-switch-a-label/97075/1 "2025-05-15T08:35:19Z")

</div>

I use a lot of Switches on my Dashboard, so using the usual Label would make it to full.  
My idea was to only show the Label with an on-hover effekt.  
But i have no clue how i could achieve that. Does anyone have prior experiences with that topic?

Thanks a lot!

---

<div class="post-metadata">

### Author: ![smanjunath211](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/smanjunath211/32/95742_2.png) [@smanjunath211](https://discourse.nodered.org/u/smanjunath211)
#### Post date: [15 May 2025 15:28 UTC](https://discourse.nodered.org/t/how-to-give-a-switch-a-label/97075/2 "2025-05-15T15:28:15Z")

</div>

![hover](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/b/b/bbc8e6e2a61e0d4920bac0f6b3c013aea42196e0.gif)

not exactly what you need, but is possible with css

---

<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: [14 June 2025 15:28 UTC](https://discourse.nodered.org/t/how-to-give-a-switch-a-label/97075/3 "2025-06-14T15:28:27Z")

</div>

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