Snippet – shadcn/ui Component by eased | shadcnregistry
Snippet
ui
A one-line command with a $ prompt and a copy button that morphs into a check. When the command changes (pnpm ↔ npm) the text swaps and the width springs, so the copy button glides instead of jumping.