JSPM

@nexusui/icon-font

1.0.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 11
  • Score
    100M100P100Q39906F
  • License BSD-3-Clause

NexusUI custom icons available as a convenient icon font

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-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>