Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

316
Vistas
Material UI how to style TextField placeholder

I'm trying to change TextField placeholder style, I followed another answer and I came up with this as follows:

import "./styles.css";
import TextField from "@mui/material/TextField";

export default function App() {
  return (
    <div className="App">
      <TextField
        inputProps={{
          placeholder: "Placeholder",
          style: {
            color: "blue",
            fontWeight: "bold"
          }
        }}
      />
    </div>
  );
}

So I'm able to change placeholder's color, but my problem is that whatever I do, it still looks like if the color was missing some alpha (as you can see in this sandbox example).

I tried setting it with rgba full opacity, but no success.

I know its atypical for placeholder to have full opacity, but I really would like to style it by myself.

about 4 years ago · Juan Pablo Isaza
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda