Skip to content

Code Block

Code container with an optional title and a copy button.

Installation

pnpm dlx shadcn@latest add @frontal-labs/code-block

Usage

import { CodeBlock } from "@/components/code-block";

API Reference

Open the source under Manual above for the exact prop types.