Code
Display a snippet of code with syntax highlighting.
Default
import { Snippet } from 'geist/components';
import type { JSX } from 'react';
export function Component(): JSX.Element {
return <Snippet text="npm init next-app" width="300px" />;
}Was this helpful?