Ir al contenido

co-icon

co-icon — Phosphor icon renderer. Usage:

Ver código
<co-icon name="bell" size="24"></co-icon>
<co-icon name="user" size="24" weight="fill"></co-icon>
<co-icon name="heart" size="24" weight="duotone"></co-icon>

Props

PropAtributoTipoDefaultDescripción
namenamestring''Phosphor icon name in kebab-case, e.g. "plus", "arrow-right", "magnifying-glass"
sizesizenumber16Size in px — applied to width & height of the SVG
weightweight"bold" | "duotone" | "fill" | "light" | "regular" | "thin"'regular'Icon weight / style variant

Eventos

Este componente no emite eventos personalizados.

Slots

Este componente no expone slots.

CSS Parts

PartDescripción
::part(svg)

CSS Custom Properties

Este componente no expone CSS custom properties.