# shadcn/ui 4.21.0 - Product: shadcn/ui (https://whatsnew.fyi/product/shadcn-ui) - Vendor: shadcn - Date: 2026-09-04 - Version: 4.21.0 - Original notes: https://github.com/shadcn-ui/ui/releases/tag/shadcn%404.21.0 - Permalink: https://whatsnew.fyi/product/shadcn-ui/releases/4.21.0 What's New is an index, not a publisher: every entry below links to the vendor's own release notes, which are the authoritative source. Entries are labelled where they are hand-curated sample data, pre-releases, or drawn from a secondary source such as a developer blog. Reuse: the summaries, labels and curation here are © What's New. Quote freely with attribution and a link back; wholesale republication of the corpus is not permitted — terms: https://whatsnew.fyi/terms. The vendors' own release notes remain their publishers'. --- - **added** — Install `cn` package and generate `export { cn } from "cn"` for `lib/utils` on init - **changed** — Registry components now import `cn` from the `cn` package - **changed** — Use `twMerge` from `cn` instead of `tailwind-merge` internally ###### Minor Changes - [#11758](https://github.com/shadcn-ui/ui/pull/11758) [`c257f688cf4de7ec10cc1be84cad29cd4631182c`](https://github.com/shadcn-ui/ui/commit/c257f688cf4de7ec10cc1be84cad29cd4631182c) Thanks [@shadcn](https://github.com/shadcn)! - install `cn` and generate `export { cn } from "cn"` for `lib/utils` on init. Registry components now import `cn` from the `cn` package. ###### Patch Changes - [`8720dec73f5aebed9f649ea58636f54599fdedf1`](https://github.com/shadcn-ui/ui/commit/8720dec73f5aebed9f649ea58636f54599fdedf1) Thanks [@shadcn](https://github.com/shadcn)! - use `twMerge` from `cn` instead of `tailwind-merge` internally.