@mxreakit/icons
v0.1.4
Published
Utils for svg icons.
Downloads
308
Readme
MxReaKit - Icons
Provides tools to import SVG icons in a React project.
WARN: This package is experimental and subject to frequent changes. It is not intended for public use.
Table of Contents
How to install?
- Go to the root of your project (where your package.json file is located).
- Run
npm i @mxreakit/icons.
How to set up?
No setup needed.
How to use?
- Import icons needed and use them as normal components (You can specify a variant).
import { IconInstagram, IconLinkedIn } from '@mxreakit/icons'; export const HomePage = () => { return ( <section> <IconInstagram variant="negative" /> <IconLinkedIn className="h-10 w-10 text-primary hover:text-background" /> </section> ); };
