Research
Security News
Malicious npm Package Targets Solana Developers and Hijacks Funds
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
collecticons-lib
Advanced tools
We at Development Seed use iconography in a lot of projects. Some of the icons were designed/built on top of libraries like icoMoon by Keyamoon and others were made in house. This evergrowing collection is a set of the icons we've been using so far and are now available for free under the The MIT License and the Creative Commons Attribution License 4.0.
If you feel like contributing to this library checkout the guidelines below:
icon-bound
) being used as a wrapper. This should not be deleted and your artwork must be contained within its limits.The name of the SVG file should follow the pattern:
[object]-[classifier]-[index]--[small-modifier].svg
share
or download
.open
or complex like down-left
.Examples:
tick.svg
lock-open.svg
lock-open-2.svg
chevron-down--small.svg
It is possible to group icons based on specific criteria, such as if the icon represents an existing brand
or if it's formally contained within a wrapper
. These should be placed before the name.
[brand]-[name].svg
-- or --
[wrapper]-[name].svg
Note that
brand
andwrapper
are mutually exclusive. There can't be a branded icon with a wrapper since brands follow the rules disciplined by their brand guides.
Examples:
brand-instagram.svg
circle-xmark.svg
Some icons are better expressed at smaller sizes, especially when they are presented alongside text. This means that their design doesn't need to occupy the whole grid. Try to use 80% or less of the grid space instead. Example: sort
.
Collecticons operates similarly to Semver with the following version convention:
When the version changes the version number in the package.json
file must be updated as well.
Before merging to master
compile the font with the collecticons processor:
collecticons compile svg --style-formats css --style-dest dist/styles --preview-dest dist/
Once the merge is done a new release should be created using the version number in the package.json
.
The compiled version of Collecticons is located inside the collecticons/
folder.
You can also use your usual package manager:
npm install --save collecticons
icons.css
stylesheet in the <head>
of your <html>
page:<link rel="stylesheet" href="node_modules/collecticons/dist/styles/icons.css">
<span class="collecticon collecticon-devseed"></span>
If you are interested in generating a custom webfont and the accompanying css/sass files from the icons we've got you covered! We created a command line util specifically for this purpose.
Check the collecticons processor repo for usage instructions.
FAQs
An evergrowing collection of crisp icons
The npm package collecticons-lib receives a total of 1 weekly downloads. As such, collecticons-lib popularity was classified as not popular.
We found that collecticons-lib 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
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Security News
Research
Socket researchers have discovered malicious npm packages targeting crypto developers, stealing credentials and wallet data using spyware delivered through typosquats of popular cryptographic libraries.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.