How can I change the color of placeholder text for a text input?

How can I change the color of placeholder text for TextInput? I’ve tried setting the Color html attribute but no change. It stays the same grey

I saw a prior thread about this but can’t see the answer.

image.png

Hey @frantic_duck, considering you’re using the unstyled text input ( element), right below HTML Attributes in the right panel you can see “Element states”. Click on the Plus button and type/select “Placeholder”. Then you should be able to change styles for the placeholder.

Yesss, thank you I got it!

I can’t find this Element States. For the next exercise L36 I can find element states under the “design section” but here i can’t.

2 Likes