You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

@viget/tailwindcss-plugins

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@viget/tailwindcss-plugins

A collection of custom plugins for Tailwind CSS.

3.0.0
latest
Source
npmnpm
Version published
Maintainers
1
Created
Source

Tailwind CSS Plugins

This plugin wraps up a collection of other plugins we've written for Tailwind CSS.

Plugins include:

Utilities include:

Installation

Add @viget/tailwindcss-plugins to devDependencies in package.json.

yarn add -D @viget/tailwindcss-plugins

Usage

Simply require the plugins or utilities in your tailwindcss.config.js file, and follow the usage instructions in each plugin’s README.

// utilities
const a = require('@viget/tailwindcss-plugins/utilities/alpha')
const { em, rem, remPair, pxPair } = require('@viget/tailwindcss-plugins/utilities/fns')
const plugins = require('@viget/tailwindcss-plugins')

// plugins
plugins: [
  plugins.rect,
  plugins.sr,
  // ...
],

Notes

There are some additional plugin examples included in this repository’s examples directory. These are not registerable in your Tailwind config. The reasons for this are that these represent plugins which:

  • could have a number of different outputs that require varying approaches
  • have a highly specific project use case
  • are an alternate approach to one of the registerable plugins

For example, heading components could be done any number of ways. They could be simple or complex, fixed or responsive, wrapped for rich text or classnames only. For this reason, we've included several examples of these. If you need one of these plugins, it is recommended to copy and paste the plugin code into a custom plugin for your project.

Code At Viget

Visit code.viget.com to see more projects from Viget.

Keywords

tailwind

FAQs

Package last updated on 13 Jun 2022

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