Rating Input

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

Rating Input

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

Usage

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

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 Input

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

Choose a password
0 characters entered
  • At least 8 characters
  • Contains a number
  • Contains a symbol

Password Strength

Masked characters type into the field while a four-segment meter climbs from rose through amber to emerald and each rule in the checklist ticks green, then it clears and starts over.

Mira violet#6D5EFA

Color Input

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

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.

Ready when you are

Hero Input

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

Ξ
0x4A81…6fA0ENS
Ethereum · Mainnet

Wallet Input

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