Research
Security News
Kill Switch Hidden in npm Packages Typosquatting Chalk and Chokidar
Socket researchers found several malicious npm packages typosquatting Chalk and Chokidar, targeting Node.js developers with kill switches and data theft.
solid-icons
Advanced tools
Modern solution for use icons on SolidJS
yarn add solid-icons
npm install solid-icons --save
import { SiJavascript } from "solid-icons/si";
<SiJavascript size={24} color="#2c4f7c" />;
Icon Library | License | Version |
---|---|---|
Ant Design Icons | MIT | 4.1.0 |
Bootstrap Icons | MIT | 1.7.2 |
BoxIcons | CC BY 4.0 License | 2.1.1 |
Feather | MIT | 4.28.0 |
Font Awesome | CC BY 4.0 License | 5.15.4 |
Heroicons | MIT | 1.0.3 |
IcoMoon Free | CC BY 4.0 License | 1.0.0 |
Ionicons | MIT | 5.5.2 |
Remix Icon | Apache License Version 2.0 | 2.5.0 |
Simple Icons | CC0 1.0 Universal | 6.7.0 |
Typicons | CC BY-SA 3.0 | 2.1.2 |
VS Code Icons | CC BY 4.0 | 0.0.27 |
Weather Icons | SIL OFL 1.1 | 2.0.12 |
css.gg | MIT | 2.0.0 |
Tabler Icons | MIT | 1.70.0 |
Github Octicons | MIT | 17.3.0 |
solid-icons components receive props like any SVG, you also have a few custom ones.
import { SiJavascript } from "solid-icons/si";
<SiJavascript size={24} color="#2c4f7c" class="custom-icon" title="a11y" />;
Key | Default | Notes |
---|---|---|
color | currentColor (inherit) | |
size | 1em | |
class | undefined | |
title | undefined | A icon title a11y |
requirements:
node ^16.14.0
You can locally clone this repository:
$ git clone https://github.com/x64Bits/solid-icons
$ cd solid-icons
$ yarn
$ yarn build
If you did the above steps and want to build while listening if the files change you can run:
$ yarn dev
Isolate a single library, this allows you to avoid recompiling the entire library and thus optimize the result of a single one:
$ yarn dev --isolate="ai"
This command is used to build the files destined for web, if you want to change the path, in src/build/constants.ts
you can modify the output of the files:
$ yarn dev --web
MIT
FAQs
Modern solution for use icons on SolidJS
The npm package solid-icons receives a total of 3,250 weekly downloads. As such, solid-icons popularity was classified as popular.
We found that solid-icons demonstrated a not healthy version release cadence and project activity because the last version was released 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.
Research
Security News
Socket researchers found several malicious npm packages typosquatting Chalk and Chokidar, targeting Node.js developers with kill switches and data theft.
Security News
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
Product
Socket now supports uv.lock files to ensure consistent, secure dependency resolution for Python projects and enhance supply chain security.