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;

New here? Read the installation guide.

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
Mira violet#6D5EFA

Color Input

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

INV-2026-00421Auto

Serial Input

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

$12,480.00USD

Currency Input

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

Ξ
0x4A81…6fA0ENS
Ethereum · Mainnet

Wallet Input

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

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

Regex Input

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

2026-04-23

Date Input

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

Markdown version