Package detail

@igloo-ui/icon-button

gsoft-inc170Apache-2.01.4.0

IconButton are used primarily for actions.

readme

IconButton

IconButton are used primarily for actions.

<Example is="custom" /> <ReferenceLinks is="custom" />

Installation

To install @igloo-ui/icon-button in your project, you will need to run the following command using npm:

npm install @igloo-ui/icon-button

If you prefer Yarn, use the following command instead:

yarn add @igloo-ui/icon-button

Usage

Then to use the component in your code just import it!

import IconButton from '@igloo-ui/icon-button';
import Plus from '@igloo-ui/icons/dist/Plus';

<IconButton icon={<Plus size="small" />} />;