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"
/>

More Input pieces

View all Input
INV-2026-00421Auto

ID-style mono input with a leading hash, wide letter spacing, and a muted Auto-generated pill.

Mira violet#6D5EFA

Color field pairing a filled swatch with the chosen name and hex code and an eyedropper button.

$12,480.00USD

Money field with a leading currency symbol, right-aligned mono amount, and a unit label.

Ξ
0x4A81…6fA0ENS
Ethereum · Mainnet

Crypto address field with a gradient Ξ avatar, shortened mono address, and an ENS lookup chip.

/^[a-z]+@beste\.co$/gi42

Regex field with slash delimiters, flag suffix in amber, and an emerald match-count pill on the right.

2026-04-23

Date Input

input15

Date field with a leading calendar icon, mono ISO value, and a chevron hinting at a popover.