<UiIcon>

Icono MDI suelto. Sin color hereda el del texto; sin label es decorativo (los lectores lo ignoran). Pon label cuando el icono diga algo sin texto al lado.

size
16
20
24
32
colorSin color hereda el del texto.
primary
secondary
accent
success
info
warning
error
Ver código
<UiIcon icon="mdi-check-circle-outline" :size="16" color="success" />
<UiIcon icon="mdi-alert" color="warning" label="Hay cambios sin guardar" />
Prop / slot / eventoTipoPor defectoDescripción
iconstring—Icono MDI. Obligatorio.
sizenumber20Lado en px.
color"primary" | "secondary" | "accent" | "success" | "info" | "warning" | "error"—Color del tema; sin él hereda el del texto.
labelstring—Texto para lectores de pantalla; sin él el icono es decorativo.

<UiIconBackground>

Icono MDI dentro de un contenedor circular, cuadrado o redondeado.

shape
Circle
Rounded
Square
backgroundSize
32
48
64
iconSize
16
24
32
backgroundColorColor CSS o del tema.
#eff6ff
#f0fdf4
#fef2f2
iconColorColor CSS o del tema.
info
success
error
Ver código
<UiIconBackground icon-id="mdi-check" :shape="ContainerShape.Rounded" background-color="#f0fdf4" icon-color="success" />
Prop / slot / eventoTipoPor defectoDescripción
iconIdstring—Icono MDI.
shapeContainerShapeCircleCircle | Square | Rounded.
backgroundSize / iconSizenumber48 / 24Tamaños en px.
backgroundColor / iconColorstring"grey" / "black"Colores (CSS o de tema).
Copyright © 2026 vicci · base