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

tailwind-vector-effect

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tailwind-vector-effect

Adds Vector Effects to tailwind for the svg path tag

latest
Source
npmnpm
Version
1.0.2
Version published
Weekly downloads
16
166.67%
Maintainers
1
Weekly downloads
 
Created
Source

Tailwind Vector Effect

Adds Vector Effects to tailwind for the svg path tag

Install the plugin from npm:

$ npm install tailwind-vector-effect

Then add the plugin to your tailwind.config.js file:

// tailwind.config.js
module.exports = {
  // ...
  plugins: [
    // ...
    require('tailwind-vector-effect'),
    // ...
  ],
  // ...
};

This plugin will generate following CSS:

.non-scaling-stroke {
  vector-effect: non-scaling-stroke;
}

.non-scaling-size {
  vector-effect: non-scaling-size;
}

.non-rotation {
  vector-effect: non-rotation;
}

.fixed-position {
  vector-effect: fixed-position;
}

License

Tailwind Vector Effect is licensed under the MIT License.

Credits

Created with create-tailwind-plugin.

Keywords

create-tailwind-plugin

FAQs

Package last updated on 25 Apr 2021

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