@nexusui/icon-font
v1.0.0
Published
NexusUI custom icons available as a convenient icon font
Downloads
74
Readme
NexusUI Icon Font
This package contains NexusUI custom icons in a variety of font formats.
Installation
Add the library as a dependency to your project:
# With yarn
yarn add @nexusui/icon-font
# With npm
npm install --save @nexusui/icon-font
You will need to include the @nexusui/icon-font/NexusUIIcons.css
file in your top level CSS or JS file.
// CSS
import '~@nexusui/icon-font/NexusUIIcons.css'
// JS
import '@nexusui/icon-font/NexusUIIcons.css';
Usage
Icons will be available by applying the appropriate class to an <i>
or other element.
<i className={'nexusui-ICONNAME'}></i>