DocsShowcaseGitHub
IntroductionReactMorphingLine, Fill and DuoSVGAccessibilityDesignRoadmapChangelog
Get started
  • Introduction
Guides
  • React
  • Morphing
  • Line, Fill and Duo
  • SVG
  • Accessibility
  • Design
Project
  • Roadmap
  • Changelog

Introduction

Next: React

Install Nubo and render your first icon.

Nubo is a set of 192 soft, open-source icons. Every icon is drawn on a 24px grid with a 1.5px stroke and comes in three styles that share one outline, so you can swap styles without anything shifting.

linefillduo

Install#

pnpm add @nubo-icons/react

Use an icon#

Import icons by name. The package root gives you Line; Fill and Duo have their own paths.

import { HeartIcon } from "@nubo-icons/react";
import { HeartIcon as HeartFillIcon } from "@nubo-icons/react/fill";
 
export function Like() {
  return (
    <button aria-label="Like">
      <HeartIcon />
    </button>
  );
}

Icons are plain components with no client-side code, so they work in Server Components and anywhere else React renders.

Find an icon#

Browse the set to search by name, alias or tag. Click any icon to preview it, copy it as SVG or JSX, or download it. Icons also answer to familiar names from other sets, so a search for search, home or settings finds the right one.

Next#

  • React: import paths, names, props and TypeScript.
  • Line, Fill and Duo: what each style is for.
  • Accessibility: when an icon needs a label.
React

On this page

  • Install
  • Use an icon
  • Find an icon
  • Next
Edit this pageBack to top