
Product
Announcing Socket Certified Patches: One-Click Fixes for Vulnerable Dependencies
A safer, faster way to eliminate vulnerabilities without updating dependencies
@iconsauce/heroicons
Advanced tools
This plugin scrapes Heroicons from it's module from which contains SVG versions.
For more infos go to iconsauce docs.
At the moment, outline icons are disabled because are not shape based and are not correctly converted to font.
module.exports = {
content: [
'./src/**/*.{tsx,ts}',
],
fontSize: '20px',
plugin: [
require('@iconsauce/heroicons'),
],
}
You will be able to use these icons in your project.
const MyComponent = () => {
const icon = 'hero/solid/users'
return <section className={ icon }>
<div className="grid desktop:grid-cols-4 hero/solid/calculator tablet:grid-cols-2 grid-cols-1 desktop:gap-6 gap-12 desktop:auto-rows-fr desktop:items-end">
<i className="hero/solid/duplicate"/>
<span className='bg-adjust-tone-01/24 hero/solid/pencil'/>
<div>
<footer title="hero/solid/star"></footer>
</div>
</div>
</section>
}
export default MyComponent
This plug-in will generate only icons used:
@font-face {
font-family: "iconsauce";
src: url("data:font/truetype;charset=utf-8;base64,A...Z") format("truetype");
}
[class^="hero/"], [class*=" hero/"] {
-moz-osx-font-smoothing: grayscale;
-webkit-font-smoothing: antialiased;
font-family: "iconsauce" !important;
font-size: 24px;
font-style: normal;
font-weight: 400;
line-height: 1;
}
.hero\/calculator::before { content: "\ea01" }
.hero\/duplicate::before { content: "\ea02" }
.hero\/pencil::before { content: "\ea03" }
.hero\/star::before { content: "\ea04"}
.hero\/users::before { content: "\ea05" }
FAQs
An iconsauce plugin to gather heroicons SVG icons pack
We found that @iconsauce/heroicons 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.

Product
A safer, faster way to eliminate vulnerabilities without updating dependencies

Product
Reachability analysis for Ruby is now in beta, helping teams identify which vulnerabilities are truly exploitable in their applications.

Research
/Security News
Malicious npm packages use Adspect cloaking and fake CAPTCHAs to fingerprint visitors and redirect victims to crypto-themed scam sites.