
Company News
Socket Joins New OpenJS Program to Fund Node.js Security Work
Socket is joining the OpenJS Security Stewardship Program to fund Node.js vulnerability research, maintainer remediation, and security releases.
@zachleat/icon-fall
Advanced tools
<icon-fall>A web component to rain Font Awesome icons down your web site. Extracted from blog.fontawesome.com and based on <snow-fall>.
npm install @zachleat/icon-fall
<script type="module" src="icon-fall.js"></script>
Child elements are the icons that fall. Multiple children are used in rotation.
<icon-fall>
<i class="fa-solid fa-snowflake"></i>
</icon-fall>
<i> elements replaced with <svg> are picked up automatically.fontawesome or font-awesome (it is copied into the shadow root, where page CSS doesn’t reach).@fortawesome/fontawesome-svg-core): works as-is.<svg><use href="#id"></use></svg> references to same-document <symbol>s (e.g. from @11ty/font-awesome) are copied in automatically. Same-origin external sprites (/sprites/solid.svg#star) work too.<!-- Default: 100 -->
<icon-fall count="200"></icon-fall>
A ready attribute is added after the first render.
<!-- Colors are used in rotation, default: inherits `color` -->
<icon-fall style="--icon-fall-colors: #ff6b6b, #51cf66, #339af0"></icon-fall>
<!-- Default: 2em -->
<icon-fall style="--icon-fall-size: 3em"></icon-fall>
--icon-fall-colors is read when the icons render, so later changes (a dark mode toggle, say) don’t restyle existing icons.
<is-land>Use <is-land> to respect reduced motion preferences:
<is-land on:media="(prefers-reduced-motion: no-preference)">
<icon-fall>
<i class="fa-solid fa-snowflake"></i>
</icon-fall>
</is-land>
import { IconFall } from "@zachleat/icon-fall?nodefine";
class MyIconFall extends IconFall {
static tagName = "my-icon-fall";
}
MyIconFall.define();
FAQs
A web component to rain Font Awesome icons down your web site.
The npm package @zachleat/icon-fall receives a total of 10 weekly downloads. As such, @zachleat/icon-fall popularity was classified as not popular.
We found that @zachleat/icon-fall 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.

Company News
Socket is joining the OpenJS Security Stewardship Program to fund Node.js vulnerability research, maintainer remediation, and security releases.

Security News
Two compromised GitHub Actions were re-enabled with malicious tags intact, exposing thousands of downstream repositories to Mini Shai-Hulud.

Research
/Security News
A malicious Firefox extension fetches its payload after installation to evade detection, steal Google session cookies, and automate account takeover.