šŸš€ Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more →
Socket
Sign inDemoInstall
Socket

devicons-react

Package Overview
Dependencies
Maintainers
1
Versions
139
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

devicons-react

Devicons React is a collection of icons that symbolize programming languages, design tools, and development software.

1.4.1
latest
Source
npm
Version published
Weekly downloads
2.2K
16.12%
Maintainers
1
Weekly downloads
Ā 
Created
Source
Devicon Logo

Devicons React

https://devicons-react.vercel.app/

Devicons React is a comprehensive collection of icons representing programming languages, design tools, and development software, built on top of Devicon. Perfect for React projects!

Table of Contents

Features

  • Comprehensive: A wide range of icons for programming languages, design tools, and development software.
  • React-Friendly: Designed specifically for React applications.
  • Customizable: Easily change icon size and color.
  • Lightweight: Optimized for performance and minimal bundle size.

Installation

Latest Version

To install the latest stable version:

# With npm
npm install --save devicons-react@latest

# With yarn
yarn add devicons-react@latest

# With pnpm
pnpm add devicons-react@latest

Beta Version

To install the beta version:

# With npm
npm install --save devicons-react@beta

# With yarn
yarn add devicons-react@beta

# With pnpm
pnpm add devicons-react@beta

Usage

Default Behavior

Render an icon with default settings:

import Aarch64Original from "devicons-react/lib/icons/Aarch64Original";

const App = () => {
  return (
    <>
      <Aarch64Original />
    </>
  );
};

export default App;

Customize Size and Color

Customize the icon's size and color:

import Aarch64Line from "devicons-react/lib/icons/Aarch64Line";
import Aarch64Original from "devicons-react/lib/icons/Aarch64Original";
import Aarch64Plain from "devicons-react/lib/icons/Aarch64Plain";

const App = () => {
  return (
    <>
      <Aarch64Line color="red" size="50" />
      <Aarch64Original color="blue" size="50" />
      <Aarch64Plain size="50" />
      <Aarch64Original className="custom-class" />
    </>
  );
};

export default App;

[!NOTE]
The color prop works only with Plain and Line icons. All SVG props are also supported for advanced customization.

[!CAUTION] Avoid importing multiple icons directly using import { Aarch64Line, Aarch64Original, Aarch64Plain } from 'devicons-react'; as it will increase the bundle size. Instead, import icons individually as shown above.

License

This project is licensed under the MIT License. See the LICENSE file for more details.

Support

For questions, issues, or contributions, please visit the GitHub repository.

Keywords

programming

FAQs

Package last updated on 30 Mar 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