v1.0.0-beta.9
Pre-release
Pre-release
What's changed
Bring your own concatenator 🫛
The new cva/config entry point supports cn, tailwind-merge, clsx/lite, or your own concatenator, opening up more control over how classes are combined.
Warning
Custom concatenator support is very experimental. The API and behavior may change without warning as the feature evolves.
See merging classes for setup examples, or advanced concatenators for clsx/lite.
Upgrading
- TypeScript 6 or later is now required.
defineConfigmoves tocva/config;getSchemamoves tocva/utils. The old imports still work but are deprecated.- Configuration hooks are deprecated in favor of the new
cxoption.
See the migration notes.
Full changelog: v1.0.0-beta.8 → v1.0.0-beta.9