• Acme Marketplace
  • Core
  • Display
  • Navigate
  • Modify
  • Arrange
  • Prototype
    • Release Notes
    • CSS/SASS Stats
    • Preview All Components
Base by AppDirect

Modify

Help users add and edit data

Text Inputs
Option Selectors
Upload
Form Layout
Form Types
Errors & Validation

Text Inputs

Single Line Text Inputs

Types

It is important to use the appropriate type attribute for the following types of fields. Using HTML5 input types makes it easier to activate native browser validation and inputs. For example, in Mobile Safari, input type="email" activates an email-specific keyboard.

  • URL Address
  • Email Address
  • Password
  • Telephone Number
  • Integer Number
  • Date
<input placeholder="e.g. http://www.domain.com" type="url">
<input placeholder="email@address.com" type="email">
<input type="password">
<input placeholder="415-555-555" type="tel">
<input max="100" min="0" placeholder="0" type="number">
<input type="date">

States

<input type="text">
<input type="text">
<input disabled type="text">
<input class="adb-is-error" type="text">

Sizes

  • Default
  • Small
<input type="text">
<input class="adb-text__small" type="text">

Max-Length Count

<input maxlength="15" type="text">

Borderless Text Inputs

States
<input class="adb-text__borderless" placeholder="Optional Default Text" type="text">
<input class="adb-text__borderless adb-is-error" placeholder="Optional Default Text" type="text">

Multiple Line Text Areas

States

<textarea></textarea>
<textarea></textarea>
<textarea disabled></textarea>
<textarea class="adb-is-error"></textarea>

Max-Length Count

<textarea maxlength="999"></textarea>

Borderless Text Areas

States
<textarea class="adb-textarea__borderless" placeholder="Optional Default Text"></textarea>
<textarea class="adb-textarea__borderless adb-is-error" placeholder="Optional Default Text"></textarea>
  • Framework
  • Modify
  • Text Inputs
  • Powered by AppDirect © 2009–2014
  • Help Center
  • Terms & Conditions
  • Contact
  • Call us toll-free: (877) 404-APPS
    Hide
    4
    1366 × 768
    10.51%
    9
    1024 × 768
    4.02%
    3
    1280 × 800
    11.08%
    1
    1440 × 900
    16.09%
    7
    1600 × 900
    5.59%
    6
    1280 × 1024
    5.77%
    5
    1680 × 1050
    7.48%
    2
    1920 × 1080
    15.99%
    8
    1920 × 1200
    5.39%
    10
    2560 × 1440
    3.23%