Back to components
Primitive

Button Demo

A compact action row that verifies the smallest installable registry item.

Preview
This is the same source that shadcn installs from the generated JSON.
Install
After building the registry and starting the dev server, run this command in a consuming project.
installpnpm dlx shadcn@latest add http://localhost:3000/r/button-demo.json
Source and dependencies
Confirm the source path, registry dependencies, and npm dependencies before installing.
Source pathregistry/default/button-demo/button-demo.tsx
Registry dependencies
button
NPM dependencies
lucide-react