New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details → →
Socket
Book a DemoSign in
Socket

vanjs-feather

Package Overview
Dependencies
Maintainers
1
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vanjs-feather

🫦 Feather icons for VanJS

latest
Source
npmnpm
Version
0.1.7
Version published
Maintainers
1
Created
Source

vanjs-feather

Coverage Status ci NPM Version

vanjs-feather

Feather icons for VanJS.

Powered by:

Installation

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

Usage

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

  • All SVGSVGElement attributes should be supported, even with reactive values;
  • Camel case attribute names are not supported and strongly discouraged (EG: use "stroke-width" instead of strokeWidth);
  • Since the feather library adds color to icons via the stroke property, any text color value inherited from parent elements would apply to your icons;
  • The width and height properties can change the scale of the icons, something you may not want when using custom style and / or class;
  • JSX transformation via vite-plugin-vanjs allows you to use CSSStyleDeclaration like objects for your icons and elements in general.

License

VanJS Feather is released under the MIT License.

Keywords

vanjs

FAQs

Package last updated on 30 Mar 2026

Did you know?

Socket

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.

Install

Related posts