From f0f349858f17257f22bf84bc2d32efdeb5206d02 Mon Sep 17 00:00:00 2001 From: Amit Yadav <28596505+Amitind@users.noreply.github.com> Date: Fri, 27 Jun 2025 15:28:10 +0530 Subject: [PATCH] Update shadcn cli `shadcn-ui` to `shadcn` shadcn-ui is being deprecated for shadcn https://www.npmjs.com/package/shadcn-ui --- examples/react-shadcn/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/react-shadcn/README.md b/examples/react-shadcn/README.md index cf5e69f..dbd016a 100644 --- a/examples/react-shadcn/README.md +++ b/examples/react-shadcn/README.md @@ -163,7 +163,7 @@ This example demonstrates how to integrate React 19+, Tailwind CSS v4+, and shad Run the Shadcn UI initialization command: ```sh - pnpm dlx shadcn-ui@latest init + pnpm dlx shadcn@latest init ``` Answer the prompts in the CLI to configure Shadcn UI according to your preferences (color scheme, etc.). @@ -177,7 +177,7 @@ This example demonstrates how to integrate React 19+, Tailwind CSS v4+, and shad You can now add Shadcn UI components using the CLI: ```sh - pnpm dlx shadcn-ui@latest add button + pnpm dlx shadcn@latest add button ``` This will install the button component and its dependencies. Repeat this command for any other components you wish to use.