Basics
Code Block
Code on a dark surface with a copy button, in both themes.
src/components/ui/code-block.tsxNo ui-sdk
A code snippet
Memuat
Import
tsx
import { CodeBlock } from "@/components/ui/code-block";Guidelines
- Fill
labelwith the file name or language.