npm.io
2.1.0 • Published 7 months ago

@igloo-ui/icon-button

Licence
Apache-2.0
Version
2.1.0
Deps
4
Size
20 kB
Vulns
0
Weekly
0
Stars
23

IconButton

IconButton are used primarily for actions.

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" />} />;