This package provides the Simple Icons packaged as a set of React components.
npm install @icons-pack/react-simple-iconsThis package provides the Simple Icons 15.16.0
packaged as a set of React components.



Install the package in your project directory with:
``shell`
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-icons
`jsx
import { SiReact } from '@icons-pack/react-simple-icons';
function BasicExample() {
return
}
`
@icons-pack/react-simple-icons provides a default title referring to the component name
> The
element provides an accessible, short-text description of any SVG container element or graphics element.`jsx
import { SiReact } from '@icons-pack/react-simple-icons';// title default "React"
function ChangeTitle() {
return ;
}
`Use default color
Set color as
default to use the default color for each icon`jsx
import { SiReact } from '@icons-pack/react-simple-icons';function DefaultColorExample() {
return ;
}
`$3
Append
Hex to the icon name to use the default color as hex string`jsx
import { SiReact, SiReactHex } from '@icons-pack/react-simple-icons';function DefaultColorExample() {
return ;
}
`Custom styles
`jsx
import { SiReact } from '@icons-pack/react-simple-icons';function CustomStyles() {
return ;
}
``css
.myStyle {
width: 35px;
height: 35px;
}
``