🚨 Shai-Hulud Strikes Again:834 Packages Compromised.Technical Analysis
Socket
Book a DemoInstallSign in
Socket

@unocss/transformer-variant-group

Package Overview
Dependencies
Maintainers
2
Versions
308
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@unocss/transformer-variant-group

Variant group transformer for UnoCSS

Source
npmnpm
Version
66.5.4
Version published
Weekly downloads
351K
-10.36%
Maintainers
2
Weekly downloads
 
Created
Source

@unocss/transformer-variant-group

Enables the variant group feature of Windi CSS for UnoCSS.

Install

npm i -D @unocss/transformer-variant-group
import transformerVariantGroup from '@unocss/transformer-variant-group'
// uno.config.ts
import { defineConfig } from 'unocss'

export default defineConfig({
  // ...
  transformers: [
    transformerVariantGroup(),
  ],
})

Usage

<div class="hover:(bg-gray-400 font-medium) font-(light mono)" />

Will be transformed to:

<div class="hover:bg-gray-400 hover:font-medium font-light font-mono" />

License

MIT License © 2021-PRESENT Anthony Fu

Keywords

unocss

FAQs

Package last updated on 15 Oct 2025

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