Code Window

A paper code sheet with quiet chrome (three muted dots + filename), optional language stamp, line numbers, and soft accent highlights. No dark IDE slabs.

Draw

npx shadcn@latest add @clow/code-window

Playground

props
<CodeWindow />

Examples

basic

Props

proptypedefault
filenametextindex.ts
languagetexttsx
showLineNumbersbooleantrue