MENU

Fun & Interesting

I Created My OWN Components with Shadcn CLI and You Can Too!

Video Not Working? Fix It Now

Shadcn just updated their CLI with a lot of ground breaking new changes. The biggest change is being able to install remote components using just a URL. You can create a json file and make it publicly accessible allowing you to use the Shadcn CLI to work with your remote URL that is pointed toward that json file. In this video, I will show you how to create your own component/block and configure it to make it accessible with the Shadcn CLI. This allows you to share the command with yourself, friends and other developers so they can add that component your created to their codebase. Link to Shadcn GitHub Open Source 👇 https://github.com/shadcn-ui/ui/tree/main/apps/www Link to my side bar block 👇 https://www.uicart.io/docs/sidebar-01 Link to GitHub repo for script tag 👇 https://github.com/bwestwood11/ui-cart/blob/main/scripts/build-registry.ts Link to Shadcn CLI docs 👇 https://ui.shadcn.com/docs/changelog Join my Discord room to interact with other developers 👇 https://discord.gg/jThDV4nnwS Timestamps 0:00 Intro 0:37 What is the Shadcn CLI and how to use it 2:14 Going over the changelog 3:26 Showing example of remote URL usage with CLI 4:49 Shadcn CLI I created and so can you 5:35 Shadcn CLI GitHub Repo Open Source 7:56 Step-by-Step on how to create a json file for custom component with Shadcn CLI 15:18 Outro

Comment