← MaV / Input Fields

Input — Size

Three heights: sm 36px, md 40px, lg 48px. Radius 4px, Plus Jakarta Sans Bold 14px.

sm
md
lg
Input — radius 4px · padding 10/16 (md) · shadow/smUses --input-field/* tokens

Input — State

Empty, Filled, Focus (blue outline), Error (red tint + message), Disabled. These are the first interactive field below.

Empty · type to focus
Filled
Focus
Error
Error message
Disabled
State — Empty · Filled #191919 · Focus #352eff · Error #ff0000 · Disabled #efefef

Input — Variations

Leading / trailing icon, leading prefix text, and a credit-card field. Icons are 20px, gap 8px.

Leading icon
Trailing help icon
Leading text
https://
Credit card
Variations — leading/trailing icon · prefix · credit card

Input dropdown

Input base with a trailing 24px chevron. Types add a leading element (icon, flag, avatar). Same five states.

Default
Icon
Flag
Avatar
J
Focus
Error
Please select an option
Dropdown — trailing chevron 24px · Default / Icon / Flag / Avatar

Input with label

Label (Inter Bold 14px) above the field, with an optional trailing button, top description, or bottom description.

Label only
Label
Label + button
Password
Top description
Label
Nulla in urna elementum, sagittis diam sed.
Bottom description
Label
Nulla in urna elementum, sagittis diam sed.
Input with label — label · button · top / bottom description

Input with Search

Leading magnifying-glass (20px) and an optional trailing info icon. Supports the same label / description slots.

Default
Focus
With label
Search customers
Search — leading magnifier · trailing info · label slot

Textarea

Multi-line input, radius 8px, min-height 160px, vertical resize handle. Five states.

Empty · editable
Focus
Error
Please enter at least 20 characters
Disabled
Textarea — radius 8px · min-height 160px · resize vertical

Message input

Composer with a placeholder area and a toolbar: attach / emoji / mention on the left, send on the right. Radius 8px, min-height 152px.

Empty · editable
Focus · with text
Message input — toolbar · send enables when text is present

Token Reference

TokenValueUsage
--input-field/default/outline-box#ccccccDefault border
--input-field/active/outline-box-active#191919Filled border + text
--input-field/focus/outline-box#352effFocus border
--input-field/error/outline-box#ff0000Error border / message / icon
--input-field/error/bg-box#ff00001aError fill (10%)
--input-field/disabled/bg-box-disabled#efefefDisabled fill
--input-field/default/text-placeholder#b2b2b2Placeholder text
--border/border-radius/sm · md4px · 8pxInput/dropdown · textarea/message