I’m making a an input style where when the input is focused, the placeholder greys out, becomes smaller and moves to the top of the space where the user types the data (still in the same input box) and is still displayed. Right now, I can only find grey out. How do I do the other 2 options?
I’ve done this before with an app and you’ll need to use a text element that is hidden until the input is focused. When focused, it’s visible, already small, and you can animate it in so it looks like it moves.
I have one more question regarding this. Is it possible to somehow set this up as a reusable element with dynamic text that would be equal to input’s placeholder?
That would be useful if you have to manage quite a lot of them.