Skip to main content

Icon

shadow

Tento komponent poskytuje jednoduchý spôsob zobrazenia ikon zo sady SVG obrázkov, pričom umožňuje rôzne možnosti prispôsobenia. WebJET Elements využíva sadu ikon Tabler. Pre zoznam všetkých dostupných ikon navštívte tabler-icons.io.

Základné použitie

Custom

Atribúty a Vlastnosti

color

DescriptionIcon color from the application color palette The default options are "primary", "secondary", "complete", "success", "warning", "danger", "light", and "dark". For more information, go to: theming.
Attributecolor
Type"danger" "dark" | "primary" | "secondary" | "success" | "light" | "complete" | "warning" | string | undefined
Defaultundefined

name (deprecated)

DescriptionSpecifies the name of the icon to display from the set of the included SVG icon collection. Deprecated
Attributename
Typestring | undefined
Defaultundefined

name (deprecated)

DescriptionSpecifies the name of the icon to display from the set of the included SVG icon collection. Deprecated
Attributename
Typestring | undefined
Defaultundefined

size

DescriptionSet to "small" for a smaller icon, or to "large" for a larger icon. By default, the size is unset.
Attributesize
Type"large" | "small" | string & Record<never, never> | undefined
Defaultundefined

Eventy

No events available for this component.

Metódy

No public methods available for this component.

CSS Shadow Parts

No CSS shadow parts available for this component.

CSS Custom Vlastnosti

NameDescription
--wj-icon-heightDefines the height of the icon
--wj-icon-sizeDefines the size of the icon
--wj-icon-widthDefines the width of the icon

Sloty

No slots available for this component.