Snippet
Display a snippet of copyable code for the command line.
Default
npm init next-app
Inverted
npm init next-app
Multi line
cd project
now
No prompt
npm init next-app
Callback
npm init next-app
Variants
npm init next-app
npm init next-app
npm init next-app
Controlled Copied State
Use the copied prop to control the copy button animation externally. This lets you copy different text (e.g. from a context card) while reusing the snippet's checkmark feedback.
Copy install prompt
Was this helpful?