I made some positional lights for my electric longboard to be able to be seen in traffic.
The rear red light have to be able to fold in when the board is placed on its butt.
A hinge was mounted, and a spring is holding the light tube up.
White electric tubing is used to protect a LED-stripe from dirt, it also diffuses the light.
The LED-stripes is powered by a buck converter, switching the voltage down from 25V to 12V.