Security News
Weekly Downloads Now Available in npm Package Search Results
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
@ritterim/platform-icons
Advanced tools
Platform icons are part of the [Platform UI](https://github.com/ritterim/platform-ui) project from Ritter Insurance Marketing
Separate package for Platform UI Icons
<head>
section, include one of the following lines:<!-- UNPKG -->
<link rel="stylesheet" href="https://unpkg.com/@ritterim/platform-icons/dist/platform-icons.css"/>
<!-- JSDELIVR -->
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@ritterim/platform-icons/dist/platform-icons.css"/>
<!-- Skypack -->
<link rel="stylesheet" href="https://cdn.skypack.dev/@ritterim/platform-icons/dist/platform-icons.css"/>
npm install @ritterim/platform-icons
<!-- index.html -->
<link rel="stylesheet" href="path/to/node_modules/@ritterim/platform-icons/dist/platform-icons.css"/>
/* style.css */
import 'path/to/node_modules/@ritterim/platform-icons/dist/platform-icons.css'
<i class="pi-check"></i>
npm install
to install dependenciesnpm run build
npm start
npm run pack
Some notes on svg setup
source | default |
---|---|
artboard | 4" x 4" |
main stroke | 24pt |
auxiliary stroke | 18pt |
corner | .15" |
join | round |
Codepoints are the hexadecimal pointer to an icon. Here, they're used to target icons in CSS using :before
:
<i class="pi-platfrom-ui"></i>
<style>
.pi-platform-ui:before {
content: "\f18f";
}
</style>
Each time the icon set is generated there's a chance these pointers may shift. To avoid this, we copy ./public/platform-icons.json
map to reserved-codepoints.json
to maintain the current label-to-codepoint map so codepoints don't change.
FAQs
Platform icons are part of the [Platform UI](https://github.com/ritterim/platform-ui) project from Ritter Insurance Marketing
We found that @ritterim/platform-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.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
Security News
A Stanford study reveals 9.5% of engineers contribute almost nothing, costing tech $90B annually, with remote work fueling the rise of "ghost engineers."
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.