HoopsIcon
-
class
ui.icons.HoopsIcon() A web component that displays SVG icons from a predefined icon library.
Provides a simple interface for rendering SVG icons by name, with automatic sizing and error handling for missing icons.
Examples
<hoops-icon icon="home"></hoops-icon> <hoops-icon icon="settings" style="width: 24px; height: 24px;"></hoops-icon>
Custom Element
hoops-iconAttributes
icon
Name of the icon to display from the icon libraryCSS Properties
–hoops-icon-width
Width of the icon container–hoops-icon-height
Height of the icon container–hoops-svg-stroke-color
Stroke color for SVG icon elements–hoops-svg-fill-color
Fill color for SVG icon elementsSince
2025.7.0
Constructors
Properties
-
ui.icons.HoopsIcon.icon - icon: string
The name of the icon to display from the icon library.
Default
```ts '' ```