Rating Input

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

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

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

Import & use
import { Input22 } from "@/components/beste/piece/input22";

<Input22
  label="How was your stay?"
  rating={4}
  hint="Tap to rate. Optional comment on the next step."
/>

More Input pieces

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

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

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.

Ξ
0x4A81…6fA0ENS
Ethereum · Mainnet

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

Ready when you are

Hero Input

input14

Oversized text field with large type and a fatter caret, made for hero sections and prompt bars.

Mira violet#6D5EFA

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

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.