Skip to content

Forms

Input Fields

Preview

name@bauer-group.com
Karl Bauer

Validation — Preview

karl@bauer-group.com
invalid-email
Please enter a valid email address.

Specification

PropertyValue
Padding12px 16px
Border1.5px solid #E4E4E7
Border-Radius10px
Font-Size14px
Focus-Border #FF8500
Focus-Shadow0 0 0 3px rgba(255, 133, 0, 0.12)

CSS

css
.input {
  padding: 12px 16px;
  border: 1.5px solid #E4E4E7;
  border-radius: 10px;
  font-size: 0.875rem;
  font-family: var(--font-body);
  background: white;
  color: #18181B;
  width: 100%;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}

.input:focus {
  border-color: #FF8500;
  box-shadow: 0 0 0 3px rgba(255, 133, 0, 0.12);
}

.input::placeholder {
  color: #A1A1AA;
}

Labels

css
.label {
  font-size: 0.75rem;
  font-weight: 600;
  color: #52525B;
  margin-bottom: 6px;
  display: block;
}

Validation

StatusBorder colorPreviewUse case
Default#E4E4E7Default state
Focus#FF8500Active field
Success#22C55EValid input
Error#EF4444Invalid input

Error messages

Error messages are displayed below the field in error red (#EF4444) at 12px font size.

Documentation licensed under CC BY-NC 4.0 · Code licensed under MIT