shadcn@4.20.0
shadcn-ui/uishadcn@4.20.0Sep 2, 2026by github-actions[bot]
AI Summary
Introduces a new migration tool to help users replace legacy utility functions (clsx, tailwind-merge, cnfast) in projects using Tailwind CSS v4.
Key Highlights
- Added `npx shadcn migrate cn` command
- Migration tool specifically for Tailwind CSS v4 projects
- Automates the replacement of clsx, tailwind-merge, and cnfast
New Features
- Migration tool to replace utility functions in Tailwind CSS v4
Full Release Notes
### Minor Changes - [#11728](https://github.com/shadcn-ui/ui/pull/11728) [`51f3e12203b0026ea106cafb4f770bda9abead87`](https://github.com/shadcn-ui/ui/commit/51f3e12203b0026ea106cafb4f770bda9abead87) Thanks [@shadcn](https://github.com/shadcn)! - add `npx shadcn migrate cn` to replace `clsx`, `tailwind-merge` and `cnfast` in Tailwind CSS v4 projects.