Repository navigation
v1.0.0
Initial Release
Vite plugin that lets you chain multiple Tailwind CSS utilities under a shared variant prefix using pipe (|) syntax.
Features
- Pipe syntax:
md:hover:bg-blue-600|text-white|scale-105expands tomd:hover:bg-blue-600 md:hover:text-white md:hover:scale-105 - Stacked variants: Works with
md:hover:,dark:md:,md:max-lg:, etc. - Arbitrary variants:
[&>div]:text-red|font-boldexpands correctly - Bracket-aware parsing: Pipes inside
[](arbitrary values) are left untouched - Zero runtime cost: All expansion happens at build time via Vite's
enforce: 'pre'transform - Broad file support:
.js,.jsx,.ts,.tsx,.html,.vue,.svelte,.astro,.md,.mdx,.blade.php,.php - CI: GitHub Actions testing on Node 18, 20, and 22