Skip to content
UI Kit
Accent color

Special input fields

Phone numbers with country, card details, one-time codes, file uploads, profile pictures and signatures.

6 components · 20 variants
Switch category

On this page

Every component of this category. Pick one to jump to its variants.

avatar-picker

Avatar picker

The picture for a profile. Frame a photo with drag, zoom and keys, make an avatar from initials, choose from a set, or change it from a compact settings row.

Props and details · Avatar picker

Frame a photo

A round window over the photo, drag to place it, zoom with the slider, the wheel or + and -, arrows nudge it. Thirds appear while you frame, small previews follow, the framing goes to the server.

Open in Studio

Initials

Initials from the name on a color that keeps white text readable, round or square, so no photo is needed. Three sizes show it as it will appear.

Open in Studio

Settings row

The current picture with name and email. Its menu uploads a photo, switches to initials or removes the picture.

Open in Studio

card-input

Card input

Card number, expiry and security code with grouping, a Luhn check, auto advance and clear messages, without network names or logos.

Props and details · Card input

One line

Number, expiry and code in one line, the last two slide in once the number is there. On phones two rows in one box. The pay button wakes up when everything checks out.

Open in Studio

Stacked

Each part with its own label, the name below, an option to keep the card. A complete number draws a check, Backspace in an empty part goes back to the one before.

Open in Studio

Card preview

A drawn card follows every key, the expiry lights up while you type it, and the card turns over for the security code on the back.

Open in Studio

Saved cards

Cards on file as choices with the last digits and expiry, the default marked. A new card unfolds its fields with a soft height.

Open in Studio

phone-input

Phone input

A phone number with its country, without flags. Grouped as you type in the habit of the country, given back in E.164, with a searchable country list.

Props and details · Phone input

Country and number

Country and number in one box. The list searches names, codes and dialling codes, a leading 0 is dropped, a pasted +41 picks Switzerland, a complete number draws a check.

Open in Studio

Finds the country

One field for people who type the number in full. The + and the dialling code set the country, its code springs in at the start, and the rest groups itself.

Open in Studio

Two fields

Dialling code and number side by side as two controls, for long forms where every field stands on its own. The favourites lead the list.

Open in Studio

Send a code

A send button that wakes up once the number is complete, a short wait, then a countdown line before it can send again. Here the code field follows and confirms the phone.

Open in Studio

signature-pad

Signature pad

A signature drawn with finger, pen or mouse, ink that breathes with the speed, undo and clear, typing as the keyboard alternative, and SVG as the value.

Props and details · Signature pad

Draw

The pad with a dashed line, undo the last stroke or clear it all. Draw or type, the confirm button wakes up once there is a signature.

Open in Studio

Contract

Terms to read in their own scroll area, a box to agree, then the signature. A missing step is named, once signed the ink draws itself again with date and name.

Open in Studio

Initials

A small pad per section for initials, each row turns green with a check, a bar counts how many are done.

Open in Studio

Field with dialog

A field in the form that opens a large pad. Phones get a sheet from below, larger screens a dialog, and the focus stays inside. The signature then sits small in the field.

Open in Studio

file-upload

File upload

A dropzone with a file list: progress, done and failed, with checks for type, size and count.

Props and details · File upload

Dropzone

Drag files in or open the picker with the keyboard. The edge runs while a file hovers, each bar fills, a finished file draws its check. Retry restarts the failed one.

Compact

One button and a line of rules, for a single file in a longer form.

otp-input

One-time code

Separate slots on one real input: paste, SMS autofill and backspace work as people expect.

Props and details · One-time code

Verify

Six digits in two groups, inside a sign-in card. Each digit pops into its slot, a wrong code shakes, the right one sends a green wave.

States

Empty, wrong and accepted, plus a short PIN.

Often searched

Jump to

Copied to the clipboard