Skip to content
/ react Public

Clean & consistent UI icons library, crafted to simplify workflows for designers, developers and creators.

License

Notifications You must be signed in to change notification settings

zappicon/react

Repository files navigation

Zappicon React

npm version License: MIT

Free & premium UI icons library, crafted to simplify workflows for designers, developers and creators.

  • 11,00+ Free icons (220+ Icons × 5 Styles).
  • 5 Styles Available (Light, Regular, Filled, Duotone, Duotone Line).
  • Unified keyline shapes on a 24×24 px grid.
  • Easy customization of colors, sizes, and styles.

Features

  • Full TypeScript support with proper type definitions.
  • Easy customization of style with CSS.
  • Built with React 19+ and modern best practices.
  • SVG-based icons that scale perfectly on any device.
  • Tree-shakeable icons let you import only what you use.

Installation

# Using npm
npm install @zappicon/react

# Using yarn
yarn add @zappicon/react

# Using pnpm
pnpm add @zappicon/react

How to use

Zappicon uses ES Modules for full tree-shaking, so your bundle only includes the icons you import.

import { Star } from "@zappicon/react"

// usage
function App() {
  return (
    <div>
      <Star />
    </div>
  )
}

Props

Name Type Default Possible Values
size number 24 Any valid CSS size unit
color string currentColor Any CSS color
variant string "regular" "filled" | "regular" | "light" | "duotone" | "duotone-line"
className string "" Additional CSS classes

Example

import { Star } from "@zappicon/react"

function App() {
  return (
    <div>
      <Star variant='filled' size={48} color='#ff9900' />
    </div>
  )
}

variant

Each icon comes in 5 styles:

Style Variant value
Filled variant='filled'
Regular variant='regular'
Light variant='light'
Duotone variant='duotone'
Duotone Line variant='duotone-line'

Example:

// One Variant
import { Star } from "@zappicon/react"

function IconShowcase() {
  return (
    <div>
      <Star variant='regular' />
    </div>
  )
}

// Different Variants
import { Star } from "@zappicon/react"

function IconShowcase() {
  return (
    <div>
      <Star variant='light' />
      <Star variant='regular' />
      <Star variant='filled' />
      <Star variant='duotone' />
      <Star variant='duotone-line' />
    </div>
  )
}

className

This allows you to apply Tailwind CSS utilities or your own custom CSS classes for size, color, and other effects.

// Tailwind CSS
<Star variant="regular" className="w-8 h-8 text-blue-500" />

// Custom CSS
<Star variant="regular" className="my-icon" />

Support

About

Clean & consistent UI icons library, crafted to simplify workflows for designers, developers and creators.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •