Color Input

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

Mira violet#6D5EFA

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

Import & use
import { Input20 } from "@/components/beste/piece/input20";

<Input20
  label="Accent color"
  hex="#6D5EFA"
  name="Mira violet"
/>

More Input pieces

View all Input
typescript
12
const answer = 42;return answer * 2;

Code Input

input25

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

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

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

passport-scan.pdf842 KB

File Input

input18

File picker with a muted Choose file button on the left and the selected filename and size on the right.

Ξ
0x4A81…6fA0ENS
Ethereum · Mainnet

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

How was your stay?
4.0
Tap to rate. Optional comment on the next step.

Five-star rater with filled amber stars in muted tiles and a decimal rating chip to the right.

Can we ping @mira about the #launch-prep agenda?

Message input that highlights @-mentions in sky and #channel tags in violet amid plain body text.