Nextjs Icons

Bootstrap doesn’t include an icon library by default, but we have a handful of Bootstrap icons recommendations for you to choose from.


Nucleo

NextJS Argon Dashboard comes with 100 custom icons made by our friends from Nucleo App. The official package contains over 25000 icons which are looking great in combination with NextJS Argon Dashboard. Make sure you check all of them and use those that you like the most.

Usage

Free

import "assets/plugins/nucleo/css/nucleo.css";

PRO

import "assets/vendor/nucleo/css/nucleo.css";

Initialization

Start placing icons in your React components. We recommend using a consistent HTML element, like <i>. Find the right icon and learn how to reference it in your markup.

You need to know two bits of information to reference an icon:

  1. its name, prefixed with ni ni- and
  2. the style you want to use’s corresponding prefix.
import React from "react";


function Example(){
  return (
    <>
      <i className="ni ni-air-baloon"></i>
    </>
  );
}

export default Example;

Icons

Want more icons? Increase your collection by choosing more icon examples from Nucleo App website: Go to Nucleo App

Font Awesome 5

Optionally, NextJS Argon Dashboard comes with Font Awesome which means 3000+ more vector icons made for you to use.

Usage

In order to use this icons on your project you will need to import them inside your mounting point, in our case it is the src/index.js file:

FREE

import "@fortawesome/fontawesome-free/css/all.min.css";

PRO

import "assets/vendor/@fortawesome/fontawesome-free/css/all.min.css";

Initialization

Start placing icons in your React components. We recommend using a consistent HTML element, like <i>. Find the right icon and learn how to reference it in your markup.

You need to know two bits of information to reference an icon:

  1. its name, prefixed with fa{type} fa- and
  2. the style you want to use’s corresponding prefix.

NOTE: {type} can be one of s (solid), r (regular), l (light), d (duotone), or b (brands).

import React from "react";


function Example(){
  return (
    <>
      <i className="fas fa-heart"></i>
    </>
  );
}

export default Example;

Icons

Get the icon you need on the official website:

Go to Font Awesome

Bootstrap Glyphicons

Another option for icons are Glyphicons.

But please note that we have not styled these ones.