1.0.0 • Published 2 years ago
@nexusui/icon-font v1.0.0
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>
1.0.0
2 years ago
1.0.0-alpha.0
2 years ago