# Dashboard Template - reuse of switch or dropdown within a generic template

**URL:** <https://discourse.nodered.org/t/dashboard-template-reuse-of-switch-or-dropdown-within-a-generic-template/87717>\
**Category:** Dashboard\
**Created:** [5 May 2024 11:18 UTC](https://discourse.nodered.org/t/dashboard-template-reuse-of-switch-or-dropdown-within-a-generic-template/87717 "2024-05-05T11:18:59Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![RedTom](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/redtom/32/88014_2.png) [@RedTom](https://discourse.nodered.org/u/RedTom)\
**Post date:** [9 May 2024 08:48 UTC](https://discourse.nodered.org/t/dashboard-template-reuse-of-switch-or-dropdown-within-a-generic-template/87717/3 "2024-05-09T08:48:32Z")

</div>

here an example of my shutter template ui for Dashboard 2,

user hotNipi made this nice control for me, see

> [@Dashboard 2 template vertical slider height](https://discourse.nodered.org/t/dashboard-2-template-vertical-slider-height/85233):
>
> Hi, I am new to html,css and javascript programming (only did some c- or c++ programming). I try to make some tests with an ui template that I want to use to control shutters. I want to reduce the height of the vertical slider, but activating the height settings in the css part does only reduce the size of the complete group, the slider inside is cut off. Maybe someone can help. slightly_smiling_face Thanks \<template\> \<v-container class="bg-surface-variant" \> \<v…

---

_[View the full topic](https://discourse.nodered.org/t/dashboard-template-reuse-of-switch-or-dropdown-within-a-generic-template/87717)._
