Icon API Overview
Initialization
<script>
import { Icon } from "@svar-ui/svelte-core";
</script>
<!-- minimal configuration for initialization -->
<Icon />
Icon Properties
| css | Adds a custom style to the Icon control. |
| title | Optional. Sets a tooltip text for the icon element |
| tooltip | Optional. Sets the tooltip text shown on hover when the control is wrapped in a Tooltip component |
Icon Events
| click | Fires when the icon is clicked |