## Form - Input Groups

One stop solution for perfect admin dashboard!

Toggle Code!

Extend form controls by adding text or buttons before, after, or on both sides of any text-based `<input>`. Use `.input-group` with an `.input-group-addon` or `.input-group-btn` to prepend or append elements to a single `.form-control`.

##### Text Add-ons

@
@example.com
$ .00
Your vanity URL
https://example.com/users/

    <div class="input-group mb-20">
        <span class="input-group-addon" id="basic-addon1">@</span>
        <input type="text" class="form-control" placeholder="Username" aria-describedby="basic-addon1">
    </div>

    <div class="input-group mb-20">
        <input type="text" class="form-control" placeholder="Recipient's username" aria-describedby="basic-addon2">
        <span class="input-group-addon" id="basic-addon2">@example.com</span>
    </div>

    <div class="input-group mb-20">
        <span class="input-group-addon">$</span>
        <input type="text" class="form-control" aria-label="Amount (to the nearest dollar)">
        <span class="input-group-addon">.00</span>
    </div>

    <label for="basic-url">Your vanity URL</label>
    <div class="input-group mb-20">
        <span class="input-group-addon" id="basic-addon3">https://example.com/users/</span>
        <input type="text" class="form-control" id="basic-url" aria-describedby="basic-addon3">
    </div>

##### Icon Add-ons

.00
URL

    <div class="input-group mb-20">
        <span class="input-group-addon" id="basic-addon1"><i class="fa fa-user"></i></span>
        <input type="text" class="form-control" placeholder="Username" aria-describedby="basic-addon1">
    </div>

    <div class="input-group mb-20">
        <input type="text" class="form-control" placeholder="Recipient's username" aria-describedby="basic-addon2">
        <span class="input-group-addon" id="basic-addon2"><i class="fa fa-users"></i></span>
    </div>

    <div class="input-group mb-20">
        <span class="input-group-addon"><i class="fa fa-dollar"></i></span>
        <input type="text" class="form-control" aria-label="Amount (to the nearest dollar)">
        <span class="input-group-addon">.00</span>
    </div>

    <label for="basic-url">URL</label>
    <div class="input-group mb-20">
        <span class="input-group-addon" id="basic-addon3"><i class="fa fa-globe"></i></span>
        <input type="text" class="form-control" id="basic-url" aria-describedby="basic-addon3">
    </div>

##### Checkboxes & Radio Add-ons

    <div class="row">
        <div class="col-lg-6">
            <div class="input-group">
                <span class="input-group-addon">
            <input type="checkbox" aria-label="...">
          </span>
                <input type="text" class="form-control" aria-label="...">
            </div>
            <!-- /input-group -->
        </div>
        <!-- /.col-lg-6 -->
        <div class="col-lg-6">
            <div class="input-group">
                <span class="input-group-addon">
            <input type="radio" aria-label="...">
          </span>
                <input type="text" class="form-control" aria-label="...">
            </div>
            <!-- /input-group -->
        </div>
        <!-- /.col-lg-6 -->
    </div>
    <!-- /.row -->

##### Buttons With Dropdown

    <div class="input-group">
        <input type="text" class="form-control" aria-label="...">
        <div class="input-group-btn">
            <button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">Action <span class="caret"></span></button>
            <ul class="dropdown-menu dropdown-menu-right">
                <li><a href="#">Action</a></li>
                <li><a href="#">Another action</a></li>
                <li><a href="#">Something else here</a></li>
                <li role="separator" class="divider"></li>
                <li><a href="#">Separated link</a></li>
            </ul>
        </div>
        <!-- /btn-group -->
    </div>
    <!-- /input-group -->

##### Icon Add-ons

    <div class="row mb-20">
        <div class="col-lg-6">
            <div class="input-group">
                <span class="input-group-btn">
            <button class="btn btn-success" type="button">Go!</button>
          </span>
                <input type="text" class="form-control" placeholder="Search for...">
            </div>
            <!-- /input-group -->
        </div>
        <!-- /.col-lg-6 -->
        <div class="col-lg-6">
            <div class="input-group">
                <input type="text" class="form-control" placeholder="Search for...">
                <span class="input-group-btn">
            <button class="btn btn-success" type="button">Go!</button>
          </span>
            </div>
            <!-- /input-group -->
        </div>
        <!-- /.col-lg-6 -->
    </div>
    <!-- /.row -->