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

228
Vistas
how to customize material ui icon by adding plus

I'm using material ui icons, is there any way to add plus to icons ?

This is my icon :

import ApartmentIcon from '@mui/icons-material/Apartment';

enter image description here

and that icon should have plus to it like here:

enter image description here

I have been trying to find a way but did not find anything, these are icons i want plus to them:' CameraAlt, Apartment, Web, Assessment, Description,', any suggestions ?

about 4 years ago · Juan Pablo Isaza
2 Respuestas
Responde la pregunta

0

i think this is the icon you are looking for

import AddAPhotoIcon from '@mui/icons-material/AddAPhoto';

about 4 years ago · Juan Pablo Isaza Denunciar

0

Using sx property here is what you need.

<Box sx={{ background: "black" }}>
  <Box sx={{ position: "relative", display: "inline", color: "white" }}>
    <CameraAltOutlinedIcon sx={{ fontSize: 40 }} />
    <AddIcon
      sx={{
        position: "absolute",
        right: "-5px",
        bottom: "2px",
        color: "black",
        fontSize: 22,
        strokeWidth: "6",
        stroke: "black"
      }}
    />
    <AddIcon
      sx={{
        position: "absolute",
        right: "-6px",
        bottom: "1px",
        color: "white",
        fontSize: 22
      }}
    />
  </Box>
</Box>

I had to use two 'plus' svg AddIcons one inside the other with some stroke to the one on the back to act like a frame for the one on the front and have a better looking result. The only thing you need to do is adjust the left/right attributes depending the main icon you are using and the colors to match your background.

Here also is a working codepen

about 4 years ago · Juan Pablo Isaza Denunciar
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