Skip to content

Icon

The IconV2 component allows you to render various icons with customizable properties such as size, color theme, and name. It will soon replace the old Icon component. You can also set custom colors using the className prop to override the default styling. For inline “informer” affordances, IconWithTooltip pairs an icon with a tooltip — pass tooltip content and, optionally, iconProps to control the icon it renders.

Playground

Installation

import { IconV2 } from '@harnessio/ui/components'
//...
return <IconV2 name="check" size="lg" />