Clow

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

draw a card
$npx shadcn@latest add @clow/code-window
First time? Point @clow at the registry

Once per project, add the registry to your components.json. Then draw any card by name.

"registries": {
  "@clow": "https://clow.cards/r/{name}.json"
}
Full setup →

Playground

props
<CodeWindow />

Examples

basic

Props

proptypedefault
filenametextindex.ts
languagetexttsx
showLineNumbersbooleantrue