Skip to main content

Icon

Quick start

Here's a quick start guide to get started with the Icon component

Importing Component

import { Icon } from "@hover-design/react";

Code Snippets and Examples

Icon Default

Icon renders a svg element

<Icon height={24} width={24}>
<path stroke="none" d="M0 0h24v24H0z" fill="none"></path>
<polyline points="6 15 12 9 18 15"></polyline>
</Icon>

Note Icon is still an experimental component. Its added to make working with icons easy, it does not provide any API as of V1