
Product
Introducing GitHub Actions Scanning Support
Detect malware, unsafe data flows, and license issues in GitHub Actions with Socket’s new workflow scanning support.
@icons-pack/react-simple-icons
Advanced tools
This package provides the Simple Icons packaged as a set of React components.
This package provides the Simple Icons 15.16.0 packaged as a set of React components.
Install the package in your project directory with:
npm i @icons-pack/react-simple-icons
TypeScript Support
You can use simpleicons.org to find a specific icon. When importing an icon, keep in mind that the names of the icons are upperCamelCase , for instance:
Material Design is exposed as
{ SiMaterialdesign } from @icons-pack/react-simple-iconsazure devOps is exposed as
{ SiAzuredevops } from @icons-pack/react-simple-iconsimport { SiReact } from '@icons-pack/react-simple-icons';
function BasicExample() {
return <SiReact color='#61DAFB' size={24} />;
}
@icons-pack/react-simple-icons provides a default title referring to the component name
The
<title>element provides an accessible, short-text description of any SVG container element or graphics element.
import { SiReact } from '@icons-pack/react-simple-icons';
// title default "React"
function ChangeTitle() {
return <SiReact title='My title' color='#61DAFB' size={24} />;
}
Set color as default to use the default color for each icon
import { SiReact } from '@icons-pack/react-simple-icons';
function DefaultColorExample() {
return <SiReact color='default' size={24} />;
}
Append Hex to the icon name to use the default color as hex string
import { SiReact, SiReactHex } from '@icons-pack/react-simple-icons';
function DefaultColorExample() {
return <SiReact color={SiReactHex} size={24} />;
}
import { SiReact } from '@icons-pack/react-simple-icons';
function CustomStyles() {
return <SiReact className='myStyle' />;
}
.myStyle {
width: 35px;
height: 35px;
}
react-icons is a popular package that provides a wide range of icons from various icon libraries, including Font Awesome, Material Design, and more. It offers a broader selection of icons compared to @icons-pack/react-simple-icons, which focuses specifically on brand icons.
simple-icons is a package that provides SVG icons for popular brands. It is the underlying library that @icons-pack/react-simple-icons uses to provide its icons, but it is not specifically tailored for React, unlike @icons-pack/react-simple-icons.
Font Awesome is a widely used icon library that offers a vast collection of icons, including brand icons. It provides more comprehensive icon options and additional features like icon animations, but requires more setup compared to the straightforward usage of @icons-pack/react-simple-icons.
FAQs
This package provides the Simple Icons packaged as a set of React components.
We found that @icons-pack/react-simple-icons demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

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.

Product
Detect malware, unsafe data flows, and license issues in GitHub Actions with Socket’s new workflow scanning support.

Product
Add real-time Socket webhook events to your workflows to automatically receive pull request scan results and security alerts in real time.

Research
The Socket Threat Research Team uncovered malicious NuGet packages typosquatting the popular Nethereum project to steal wallet keys.