Package Exports
- @nexusui/icon-font
- @nexusui/icon-font/NexusUIIcons.css
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@nexusui/icon-font) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
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-fontYou 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>