
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
vanjs-feather
Advanced tools
Feather icons for VanJS.
Powered by:
Install with npm:
npm install vanjs-feather
Install with pnpm:
pnpm add vanjs-feather
Install with bun:
bun add vanjs-feather
Install with deno:
deno install npm:vanjs-feather
Basic Usage You can call any icon(s) within your VanJS app:
import van from "vanjs-core";
import { Activity } from "vanjs-feather";
const { main } = van.tags;
const App = () => {
return main({},
Activity({ class:"icon", style:"color: turquoise" });
);
};
van.add(document.body, App());
JSX Usage When using vite-plugin-vanjs with JSX transformation enabled you can call any icon(s) within your VanJS app:
import van from "vanjs-core";
import { Activity } from "vanjs-feather";
const App = () => {
return <main>
<Activity class="icon" style={{ color: "turquoise" }} />
</main>;
};
van.add(document.body, <App />);
Notes
SVGSVGElement attributes should be supported, even with reactive values;"stroke-width" instead of strokeWidth);stroke property, any text color value inherited from parent elements would apply to your icons;width and height properties can change the scale of the icons, something you may not want when using custom style and / or class;CSSStyleDeclaration like objects for your icons and elements in general.VanJS Feather is released under the MIT License.
FAQs
🫦 Feather icons for VanJS
We found that vanjs-feather 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
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.