New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

ultimate-icons

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ultimate-icons

A comprehensive React icon library with 3000+ high-quality SVG icons in three variants: regular, bold, and color

latest
Source
npmnpm
Version
1.0.0
Version published
Weekly downloads
8
14.29%
Maintainers
1
Weekly downloads
 
Created
Source

Ultimate Icons

A comprehensive React icon library with 3000+ high-quality SVG icons in three variants: regular, bold, and color.

🌐 Live Showcase

View all icons in our interactive showcase →

Browse, search, and copy icon names with our beautiful showcase website.

Installation

npm install ultimate-icons

Usage

Basic Usage

import React from 'react';
import { Icon } from 'ultimate-icons';

function MyComponent() {
  return (
    <div>
      <Icon name="ArrowButtonCircleLeft" />
      <Icon name="ArrowButtonCircleLeft" type="bold" />
      <Icon name="ArrowButtonCircleLeft" type="color" />
    </div>
  );
}

Props

PropTypeDefaultDescription
nameIconNamerequiredName of the icon (PascalCase, e.g., "ArrowButtonCircleLeft")
type'regular' | 'bold' | 'color''regular'Type/variant of the icon
colorstring'currentColor'Color of the icon (applied to fill and stroke)
sizenumber24Size in pixels (sets both width and height)
widthnumber-Width in pixels (overrides size)
heightnumber-Height in pixels (overrides size)
classNamestring-Additional CSS class
styleReact.CSSProperties-Additional inline styles
onClick() => void-Click handler

Size and Dimensions

You can control the icon size in three ways:

  • Using size prop - Sets both width and height to the same value:
<Icon name="ArrowButtonCircleLeft" size={32} />
  • Using width and height props - Allows different width and height:
<Icon name="ArrowButtonCircleLeft" width={40} height={20} />
  • Mixed usage - If you specify width or height, the size prop is ignored:
<Icon name="ArrowButtonCircleLeft" size={24} width={40} /> {/* height will be 24, width will be 40 */}

Color Customization

For regular and bold types, you can customize the color:

<Icon name="ArrowButtonCircleLeft" color="red" />
<Icon name="ArrowButtonCircleLeft" color="#3498db" />
<Icon name="ArrowButtonCircleLeft" color="rgb(255, 0, 0)" />

Note: Color customization doesn't apply to color type icons as they have predefined colors.

Icon Naming Convention

All icon names use PascalCase format for consistency with React component naming, and trailing numbers are removed for cleaner names:

  • Original SVG: Arrow Button Circle Left.svgArrowButtonCircleLeft
  • Original SVG: Arrow Button Right 1.svgArrowButtonRight (number removed)
  • Original SVG: Settings Slider Desktop Horizontal.svgSettingsSliderDesktopHorizontal
  • Original SVG: Music On Off 1.svgMusicOnOff (number removed)

The TypeScript IconName type provides full auto-completion support, so you'll get suggestions for all available icon names in your IDE.

Interactive Icons

<Icon 
  name="ArrowButtonCircleLeft" 
  onClick={() => console.log('Icon clicked!')}
  style={{ cursor: 'pointer' }}
/>

Utility Functions

The library provides several utility functions to help you work with icons:

import { 
  getIconNames, 
  hasIcon, 
  getIconVariants, 
  getIconsByCategory, 
  getCategories, 
  searchIcons,
  type IconName 
} from 'ultimate-icons';

// Get all available icon names
const allIcons = getIconNames(); // IconName[]

// Check if an icon exists
const exists = hasIcon('ArrowButtonCircleLeft'); // boolean

// Get available variants for an icon
const variants = getIconVariants('ArrowButtonCircleLeft'); // ('regular' | 'bold' | 'color')[]

// Get all icons in a specific category
const arrowIcons = getIconsByCategory('Arrows Diagrams'); // IconName[]

// Get all available categories
const categories = getCategories(); // string[]

// Search for icons
const searchResults = searchIcons('arrow'); // IconName[]

Icon Categories

The library includes icons from various categories:

  • Arrows Diagrams
  • Business Products
  • Computers Devices Electronics
  • Content
  • Design
  • Emails
  • Entertainment Events Hobbies
  • Files Folders
  • Food Drinks
  • Health Beauty
  • Images Photography
  • Interface Essential
  • Internet Networks Servers
  • Logos
  • Maps Navigation
  • Messages Chat Smileys
  • Money Payments Finance
  • Music Audio
  • Phones Mobile Devices
  • Programming Apps Websites
  • Science
  • Shipping Delivery
  • Shopping Ecommerce
  • Social Medias Rewards Rating
  • Sports
  • Transportation
  • Users
  • Video Movies TV
  • Wayfinding
  • Weather
  • Work Office Companies

Icon Variants

Each icon may be available in up to three variants:

  • Regular: Standard weight icons
  • Bold: Heavier weight icons
  • Color: Multi-colored icons with predefined color schemes

TypeScript Support

The library is fully typed and provides excellent TypeScript support with auto-completion for icon names:

import { Icon, IconProps, IconType, type IconName } from 'ultimate-icons';

// TypeScript will auto-complete icon names
const MyIcon: React.FC<{ variant: IconType }> = ({ variant }) => {
  return <Icon name="ArrowButtonCircleLeft" type={variant} />; // Full autocomplete support
};

// Type-safe icon name handling
function renderIcon(iconName: IconName) {
  return <Icon name={iconName} />; // iconName is guaranteed to be valid
}

Examples

import { Icon, getIconNames } from 'ultimate-icons';

function IconGallery() {
  const iconNames = getIconNames();

  return (
    <div style={{ display: 'grid', gridTemplateColumns: 'repeat(auto-fill, minmax(200px, 1fr))', gap: '16px' }}>
      {iconNames.map(name => (
        <div key={name} style={{ display: 'flex', alignItems: 'center', gap: '8px' }}>
          <Icon name={name} size={24} />
          <span>{name}</span>
        </div>
      ))}
    </div>
  );
}

Icon Picker

import { Icon, searchIcons } from 'ultimate-icons';
import { useState } from 'react';

function IconPicker() {
  const [search, setSearch] = useState('');
  const results = searchIcons(search);

  return (
    <div>
      <input 
        type="text" 
        placeholder="Search icons..." 
        value={search}
        onChange={(e) => setSearch(e.target.value)}
      />
      <div style={{ display: 'grid', gridTemplateColumns: 'repeat(auto-fill, minmax(150px, 1fr))', gap: '8px' }}>
        {results.slice(0, 50).map(name => (
          <div key={name} style={{ padding: '8px', border: '1px solid #ccc', textAlign: 'center' }}>
            <Icon name={name} size={32} />
            <div style={{ fontSize: '12px', marginTop: '4px' }}>{name}</div>
          </div>
        ))}
      </div>
    </div>
  );
}

License

MIT License

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

Keywords

icons

FAQs

Package last updated on 24 Sep 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts