Code Input

Dark mono code field with a language eyebrow, line-number gutter, and content lines on a foreground canvas.

typescript
12
const answer = 42;return answer * 2;

Requires shadcn/ui initialized. Run npx shadcn@latest init if you haven't.

Import & use
import { Input25 } from "@/components/beste/piece/input25";

<Input25
  code="const answer = 42;
return answer * 2;"
  language="typescript"
/>