File Input

passport-scan.pdf842 KB
About this piece

File Input

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

Usage

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

import { Input18 } from "@/components/beste/piece/input18";

<Input18
  label="Attach ID document"
  filename="passport-scan.pdf"
  size="842 KB"
/>

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.

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.

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.

acct_7Z91X2Q
Provided by admin. Contact support to change.

Readonly Input

Locked field with a muted fill, padlock icon, and a why-locked helper line underneath.

small, compact, dense

Dense Input

Tight small-size text field for data tables and filter rails, with smaller type and tight padding.

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