Text fields

View Code
<!-- Text field -->
<div class="form-group">
    <div class="ms-text-field-wrapper">
        <label for="name" class="static-label">Name</label>
        <input id="name" type="text" value="" class="form-control ms-text-field">
    </div>
</div>
<!-- Outlined text field -->
<div class="form-group">
    <div class="ms-text-field-wrapper">
        <label for="name" class="static-label bg-white">Name</label>
        <input id="name" type="text" value="" class="form-control ms-text-field-outline">
    </div>
</div>
View Code
<!-- Text field with floating label -->
<div class="form-group">
    <div class="ms-text-field-wrapper">
        <label for="age" class="floating-label">Age</label>
        <input id="age" type="text" value="" class="form-control ms-text-field">
    </div>
</div>
<!-- Outlined text field with floating label -->
<div class="form-group">
    <div class="ms-text-field-wrapper">
        <label for="age" class="floating-label bg-white">Age</label>
        <input id="age" type="text" value="" class="form-control ms-text-field-outline">
    </div>
</div>
View Code
<!-- Text field with primary and accent colors -->
<div class="form-group">
    <div class="ms-text-field-wrapper">
        <label for="phone" class="floating-label">Phone</label>
        <input id="phone" type="text" value="" class="form-control ms-text-field primary-blue-500 accent-pink-a400">
    </div>
</div>
<!-- Outlined text field with primary and accent colors -->
<div class="form-group">
    <div class="ms-text-field-wrapper">
        <label for="phone" class="floating-label bg-white">Phone</label>
        <input id="phone" type="text" value="" class="form-control ms-text-field-outline primary-blue-500 accent-pink-a400">
    </div>
</div>
View Code
<div class="form-group">
    <div class="ms-text-field-wrapper">
        <label class="floating-label">City</label>
        <input type="text" class="form-control ms-text-field animate-left" value="">
    </div>
</div>
View Code
<div class="form-group">
    <div class="ms-text-field-wrapper">
        <label class="floating-label">State</label>
        <input type="text" class="form-control ms-text-field animate-right" value="">
    </div>
</div>
These credentials do not match our records.
These credentials do not match our records.
View Code
<!-- Text field with help block -->
<div class="form-group has-error">
    <div class="ms-text-field-wrapper">
        <label for="email" class="floating-label">Email</label>
        <input id="email" type="email" value="someone@example.com"
            class="form-control ms-text-field">
        <span class="help-block">These credentials do not match our records.</span>
    </div>
</div>

<div class="form-group">
    <div class="ms-text-field-wrapper">
        <label for="password" class="floating-label">Password</label>
        <input id="password" type="password" value="******"
            class="form-control ms-text-field">
    </div>
</div>
<!-- Outlined text field with help block -->
<div class="form-group has-error">
    <div class="ms-text-field-wrapper">
        <label for="email" class="floating-label bg-white">Email</label>
        <input id="email" type="email" value="someone@example.com"
            class="form-control ms-text-field-outline">
        <span class="help-block">These credentials do not match our records.</span>
    </div>
</div>

<div class="form-group">
    <div class="ms-text-field-wrapper">
        <label for="password" class="floating-label bg-white">Password</label>
        <input id="password" type="password" value="******"
            class="form-control ms-text-field-outline">
    </div>
</div>
View Code
<!-- Text area -->
<div class="form-group">
    <div class="ms-text-field-wrapper">
        <label for="comment" class="floating-label">Comments</label>
        <textarea class="form-control ms-text-field" rows="3" id="comment"></textarea>
    </div>
</div>
<!-- Outlined text area -->
<div class="form-group">
    <div class="ms-text-field-wrapper">
        <label for="comment" class="floating-label bg-white">Comments</label>
        <textarea class="form-control ms-text-field-outline" rows="3" id="comment"></textarea>
    </div>
</div>
account_box
account_box
View Code
<!-- Text field with icon -->
<div class="form-group">
    <div class="ms-text-field-wrapper text-field-with-icon">
        <div class="icon-left">
            <i class="material-icons">account_box</i>
        </div>
        <label for="username" class="static-label">Username</label>
        <input id="username" type="text" value="" class="form-control ms-text-field">
    </div>
</div>
<!-- Outlined text field with icon -->
<div class="form-group">
    <div class="ms-text-field-wrapper text-field-with-icon">
        <div class="icon-left">
            <i class="material-icons">account_box</i>
        </div>
        <label for="username" class="static-label bg-white">Username</label>
        <input id="username" type="text" value="" class="form-control ms-text-field-outline">
    </div>
</div>
vpn_key
vpn_key
View Code
<!-- Text field with icon and floating label -->
<div class="form-group">
    <div class="ms-text-field-wrapper text-field-with-icon">
        <div class="icon-left">
            <i class="material-icons">vpn_key</i>
        </div>
        <label for="password" class="floating-label">Password</label>
        <input id="password" type="password" value="" class="form-control ms-text-field">
    </div>
</div>
<!-- Outlined text field with icon and floating label -->
<div class="form-group">
    <div class="ms-text-field-wrapper text-field-with-icon">
        <div class="icon-left">
            <i class="material-icons">vpn_key</i>
        </div>
        <label for="password" class="floating-label bg-white">Password</label>
        <input id="password" type="password" value="" class="form-control ms-text-field-outline">
    </div>
</div>
keyboard
keyboard
View Code
<!-- Text field with icon in right -->
<div class="form-group">
    <div class="ms-text-field-wrapper text-field-with-icon">
        <div class="icon-right">
            <i class="material-icons">keyboard</i>
        </div>
        <label for="pin" class="floating-label">Pin</label>
        <input id="pin" type="password" value="" class="form-control ms-text-field">
    </div>
</div>
<!-- Outlined text field with icon in right -->
<div class="form-group">
    <div class="ms-text-field-wrapper text-field-with-icon">
        <div class="icon-right">
            <i class="material-icons">keyboard</i>
        </div>
        <label for="pin" class="floating-label bg-white">Pin</label>
        <input id="pin" type="password" value="" class="form-control ms-text-field-outline">
    </div>
</div>