Color Input

Mira violet#6D5EFA
About this piece

Color Input

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

Usage

The import and the props worth knowing about, in one place.

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

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

/^[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.

Beste Sözen

Text Field

Bare text input atom with a focused state that adds a primary ring and a blinking caret after the value.

Ξ
0x4A81…6fA0ENS
Ethereum · Mainnet

Wallet Input

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

passport-scan.pdf842 KB

File Input

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

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

Rating Input

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