This package contains NexusUI custom icons in a variety of font formats.
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';
Icons will be available by applying the appropriate class to an <i>
or other element.
<i className={'nexusui-ICONNAME'}></i>