Skip to main content

Icon API Overview

Initialization

import { Icon } from "@svar-ui/react-core";

// minimal configuration for initialization
<Icon />

Icon Properties

cssOptional. Adds a custom CSS class to the icon
titleOptional. Sets a tooltip text for the icon element
tooltipOptional. Sets the tooltip text shown on hover when the control is wrapped in a Tooltip component

Icon Events

clickFires when the icon is clicked