A selection of lightweight Bootstrap 4 UI components.
<select id="single" class="form-control form-control-chosen" data-placeholder="Please select..."> <option></option> <option>Option One</option> <option>...</option> </select>
<select id="required" class="form-control form-control-chosen-required" data-placeholder="Please select..."> <option></option> <option>Option One</option> <option>...</option> </select>
<select id="multiple" class="form-control form-control-chosen" data-placeholder="Please select..." multiple> <option></option> <option>Option One</option> <option>...</option> </select>
<select id="optgroup" class="form-control form-control-chosen" data-placeholder="Please select..." multiple> <optgroup label="Label A"> <option>Option One</option> <option>...</option> </optgroup> <optgroup label="Label B"> <option>Option Five</option> <option>...</option> </optgroup> </select>
<select id="optgroup_clickable" class="form-control form-control-chosen-optgroup" title="clickable_optgroup" data-placeholder="Please select..." multiple> <optgroup label="Label A"> <option>Option One</option> <option>...</option> </optgroup> <optgroup label="Label B"> <option>Option Five</option> <option>...</option> </optgroup> </select>
<div class="input-group"> <div class="input-group-prepend"> <label class="input-group-text" for="">Options</label> </div> <select id="multiple" class="form-control form-control-chosen" data-placeholder="Please select..." multiple> <option></option> <option>Option One</option> <option>...</option> </select> </div>
<select id="is_valid" class="form-control form-control-chosen" data-placeholder="Please select..."> <option></option> <option>Option One</option> <option>...</option> </select>
<select id="is_invalid" class="form-control form-control-chosen" data-placeholder="Please select..."> <option></option> <option>Option One</option> <option>...</option> </select>