Learning ShadCN

July 8, 2025 ยท View on GitHub

Just one of the things I'm learning. https://github.com/hchiam/learning

one-liner summary

shadcn = run CLI command to "copy-paste" code for a component that you can edit as if you wrote it yourself (read as: edit directly).

https://ui.shadcn.com/docs/components/button

which i think maps to:

https://github.com/shadcn-ui/ui/blob/main/templates/monorepo-next/packages/ui/src/components/button.tsx

but you still need to install the CLI first:

https://ui.shadcn.com/docs/installation