---
id: 'Text input group'
section: components
cssPrefix: pf-v6-c-text-input-group
---import './TextInputGroup.css'

## Examples

### Basic

```html
<div class="pf-v6-c-text-input-group">
  <div class="pf-v6-c-text-input-group__main">
    <span class="pf-v6-c-text-input-group__text">
      <input
        class="pf-v6-c-text-input-group__text-input"
        type="text"
        value
        aria-label="Type to filter"
      />
    </span>
  </div>
</div>

```

### Disabled

```html
<div class="pf-v6-c-text-input-group pf-m-disabled">
  <div class="pf-v6-c-text-input-group__main">
    <span class="pf-v6-c-text-input-group__text">
      <input
        class="pf-v6-c-text-input-group__text-input"
        type="text"
        disabled
        value="Disabled"
        aria-label="Disabled text input group example input"
      />
    </span>
  </div>
</div>

```

### Utilities and icon with placeholder text

```html
<div class="pf-v6-c-text-input-group">
  <div class="pf-v6-c-text-input-group__main pf-m-icon">
    <span class="pf-v6-c-text-input-group__text">
      <span class="pf-v6-c-text-input-group__icon">
        <i class="fas fa-fw fa-search"></i>
      </span>
      <input
        class="pf-v6-c-text-input-group__text-input"
        type="text"
        placeholder="placeholder"
        value
        aria-label="Type to filter"
      />
    </span>
  </div>
  <div class="pf-v6-c-text-input-group__utilities">
    <button
      class="pf-v6-c-button pf-m-plain"
      type="button"
      aria-label="Clear input"
    >
      <i class="fas fa-times fa-fw" aria-hidden="true"></i>
    </button>
  </div>
</div>

```

### Filters

```html
<div class="pf-v6-c-text-input-group">
  <div class="pf-v6-c-text-input-group__main">
    <div class="pf-v6-c-label-group">
      <div class="pf-v6-c-label-group__main">
        <ul
          class="pf-v6-c-label-group__list"
          role="list"
          aria-label="Label group list"
        >
          <li class="pf-v6-c-label-group__list-item">
            <span class="pf-v6-c-label pf-m-outline">
              <span class="pf-v6-c-label__content">
                <span class="pf-v6-c-label__content">
                  <span
                    class="pf-v6-c-label__text"
                    id="text-input-group-filters-label-group-label_one_select_collapsed"
                  >Label one</span>
                </span>
                <span class="pf-v6-c-label__actions">
                  <button
                    class="pf-v6-c-button pf-m-plain pf-m-no-padding"
                    type="button"
                    aria-labelledby="text-input-group-filters-label-group-remove_label_one_select_collapsed text-input-group-filters-label-group-label_one_select_collapsed"
                    aria-label="Remove"
                    id="text-input-group-filters-label-group-remove_label_one_select_collapsed"
                  >
                    <i class="fas fa-times" aria-hidden="true"></i>
                  </button>
                </span>
              </span>
            </span>
          </li>
          <li class="pf-v6-c-label-group__list-item">
            <span class="pf-v6-c-label pf-m-outline">
              <span class="pf-v6-c-label__content">
                <span class="pf-v6-c-label__content">
                  <span
                    class="pf-v6-c-label__text"
                    id="text-input-group-filters-label-group-label_two_select_collapsed"
                  >Label two</span>
                </span>
                <span class="pf-v6-c-label__actions">
                  <button
                    class="pf-v6-c-button pf-m-plain pf-m-no-padding"
                    type="button"
                    aria-labelledby="text-input-group-filters-label-group-remove_label_two_select_collapsed text-input-group-filters-label-group-label_two_select_collapsed"
                    aria-label="Remove"
                    id="text-input-group-filters-label-group-remove_label_two_select_collapsed"
                  >
                    <i class="fas fa-times" aria-hidden="true"></i>
                  </button>
                </span>
              </span>
            </span>
          </li>
          <li class="pf-v6-c-label-group__list-item">
            <span class="pf-v6-c-label pf-m-outline">
              <span class="pf-v6-c-label__content">
                <span class="pf-v6-c-label__content">
                  <span
                    class="pf-v6-c-label__text"
                    id="text-input-group-filters-label-group-label_three_select_collapsed"
                  >Label three</span>
                </span>
                <span class="pf-v6-c-label__actions">
                  <button
                    class="pf-v6-c-button pf-m-plain pf-m-no-padding"
                    type="button"
                    aria-labelledby="text-input-group-filters-label-group-remove_label_three_select_collapsed text-input-group-filters-label-group-label_three_select_collapsed"
                    aria-label="Remove"
                    id="text-input-group-filters-label-group-remove_label_three_select_collapsed"
                  >
                    <i class="fas fa-times" aria-hidden="true"></i>
                  </button>
                </span>
              </span>
            </span>
          </li>
          <li class="pf-v6-c-label-group__list-item">
            <span class="pf-v6-c-label pf-m-outline">
              <span class="pf-v6-c-label__content">
                <span class="pf-v6-c-label__content">
                  <span
                    class="pf-v6-c-label__text"
                    id="text-input-group-filters-label-group-label_four_select_collapsed"
                  >Label four</span>
                </span>
                <span class="pf-v6-c-label__actions">
                  <button
                    class="pf-v6-c-button pf-m-plain pf-m-no-padding"
                    type="button"
                    aria-labelledby="text-input-group-filters-label-group-remove_label_four_select_collapsed text-input-group-filters-label-group-label_four_select_collapsed"
                    aria-label="Remove"
                    id="text-input-group-filters-label-group-remove_label_four_select_collapsed"
                  >
                    <i class="fas fa-times" aria-hidden="true"></i>
                  </button>
                </span>
              </span>
            </span>
          </li>
          <li class="pf-v6-c-label-group__list-item">
            <span class="pf-v6-c-label pf-m-outline">
              <span class="pf-v6-c-label__content">
                <span class="pf-v6-c-label__content">
                  <span
                    class="pf-v6-c-label__text"
                    id="text-input-group-filters-label-group-label_five_select_collapsed"
                  >Label five</span>
                </span>
                <span class="pf-v6-c-label__actions">
                  <button
                    class="pf-v6-c-button pf-m-plain pf-m-no-padding"
                    type="button"
                    aria-labelledby="text-input-group-filters-label-group-remove_label_five_select_collapsed text-input-group-filters-label-group-label_five_select_collapsed"
                    aria-label="Remove"
                    id="text-input-group-filters-label-group-remove_label_five_select_collapsed"
                  >
                    <i class="fas fa-times" aria-hidden="true"></i>
                  </button>
                </span>
              </span>
            </span>
          </li>
          <li class="pf-v6-c-label-group__list-item">
            <span class="pf-v6-c-label pf-m-outline">
              <span class="pf-v6-c-label__content">
                <span class="pf-v6-c-label__content">
                  <span
                    class="pf-v6-c-label__text"
                    id="text-input-group-filters-label-group-label_six_select_collapsed"
                  >Label six</span>
                </span>
                <span class="pf-v6-c-label__actions">
                  <button
                    class="pf-v6-c-button pf-m-plain pf-m-no-padding"
                    type="button"
                    aria-labelledby="text-input-group-filters-label-group-remove_label_six_select_collapsed text-input-group-filters-label-group-label_six_select_collapsed"
                    aria-label="Remove"
                    id="text-input-group-filters-label-group-remove_label_six_select_collapsed"
                  >
                    <i class="fas fa-times" aria-hidden="true"></i>
                  </button>
                </span>
              </span>
            </span>
          </li>
          <li class="pf-v6-c-label-group__list-item">
            <button class="pf-v6-c-label pf-m-overflow">
              <span class="pf-v6-c-label__content">
                <span class="pf-v6-c-label__content">
                  <span class="pf-v6-c-label__text">8 more</span>
                </span>
              </span>
            </button>
          </li>
        </ul>
      </div>
    </div>
    <span class="pf-v6-c-text-input-group__text">
      <input
        class="pf-v6-c-text-input-group__text-input"
        type="text"
        value
        aria-label="Type to filter"
      />
    </span>
  </div>
  <div class="pf-v6-c-text-input-group__utilities">
    <button
      class="pf-v6-c-button pf-m-plain"
      type="button"
      aria-label="Clear input"
    >
      <i class="fas fa-times fa-fw" aria-hidden="true"></i>
    </button>
  </div>
</div>

```

### Filters expanded

```html
<div class="pf-v6-c-text-input-group">
  <div class="pf-v6-c-text-input-group__main">
    <div class="pf-v6-c-label-group">
      <div class="pf-v6-c-label-group__main">
        <ul
          class="pf-v6-c-label-group__list"
          role="list"
          aria-label="Label group list"
        >
          <li class="pf-v6-c-label-group__list-item">
            <span class="pf-v6-c-label pf-m-outline">
              <span class="pf-v6-c-label__content">
                <span class="pf-v6-c-label__content">
                  <span
                    class="pf-v6-c-label__text"
                    id="text-input-group-filters-expanded-label-group-label_one_select_collapsed"
                  >Label one</span>
                </span>
                <span class="pf-v6-c-label__actions">
                  <button
                    class="pf-v6-c-button pf-m-plain pf-m-no-padding"
                    type="button"
                    aria-labelledby="text-input-group-filters-expanded-label-group-remove_label_one_select_collapsed text-input-group-filters-expanded-label-group-label_one_select_collapsed"
                    aria-label="Remove"
                    id="text-input-group-filters-expanded-label-group-remove_label_one_select_collapsed"
                  >
                    <i class="fas fa-times" aria-hidden="true"></i>
                  </button>
                </span>
              </span>
            </span>
          </li>
          <li class="pf-v6-c-label-group__list-item">
            <span class="pf-v6-c-label pf-m-outline">
              <span class="pf-v6-c-label__content">
                <span class="pf-v6-c-label__content">
                  <span
                    class="pf-v6-c-label__text"
                    id="text-input-group-filters-expanded-label-group-label_two_select_collapsed"
                  >Label two</span>
                </span>
                <span class="pf-v6-c-label__actions">
                  <button
                    class="pf-v6-c-button pf-m-plain pf-m-no-padding"
                    type="button"
                    aria-labelledby="text-input-group-filters-expanded-label-group-remove_label_two_select_collapsed text-input-group-filters-expanded-label-group-label_two_select_collapsed"
                    aria-label="Remove"
                    id="text-input-group-filters-expanded-label-group-remove_label_two_select_collapsed"
                  >
                    <i class="fas fa-times" aria-hidden="true"></i>
                  </button>
                </span>
              </span>
            </span>
          </li>
          <li class="pf-v6-c-label-group__list-item">
            <span class="pf-v6-c-label pf-m-outline">
              <span class="pf-v6-c-label__content">
                <span class="pf-v6-c-label__content">
                  <span
                    class="pf-v6-c-label__text"
                    id="text-input-group-filters-expanded-label-group-label_three_select_collapsed"
                  >Label three</span>
                </span>
                <span class="pf-v6-c-label__actions">
                  <button
                    class="pf-v6-c-button pf-m-plain pf-m-no-padding"
                    type="button"
                    aria-labelledby="text-input-group-filters-expanded-label-group-remove_label_three_select_collapsed text-input-group-filters-expanded-label-group-label_three_select_collapsed"
                    aria-label="Remove"
                    id="text-input-group-filters-expanded-label-group-remove_label_three_select_collapsed"
                  >
                    <i class="fas fa-times" aria-hidden="true"></i>
                  </button>
                </span>
              </span>
            </span>
          </li>
          <li class="pf-v6-c-label-group__list-item">
            <span class="pf-v6-c-label pf-m-outline">
              <span class="pf-v6-c-label__content">
                <span class="pf-v6-c-label__content">
                  <span
                    class="pf-v6-c-label__text"
                    id="text-input-group-filters-expanded-label-group-label_four_select_collapsed"
                  >Label four</span>
                </span>
                <span class="pf-v6-c-label__actions">
                  <button
                    class="pf-v6-c-button pf-m-plain pf-m-no-padding"
                    type="button"
                    aria-labelledby="text-input-group-filters-expanded-label-group-remove_label_four_select_collapsed text-input-group-filters-expanded-label-group-label_four_select_collapsed"
                    aria-label="Remove"
                    id="text-input-group-filters-expanded-label-group-remove_label_four_select_collapsed"
                  >
                    <i class="fas fa-times" aria-hidden="true"></i>
                  </button>
                </span>
              </span>
            </span>
          </li>
          <li class="pf-v6-c-label-group__list-item">
            <span class="pf-v6-c-label pf-m-outline">
              <span class="pf-v6-c-label__content">
                <span class="pf-v6-c-label__content">
                  <span
                    class="pf-v6-c-label__text"
                    id="text-input-group-filters-expanded-label-group-label_five_select_collapsed"
                  >Label five</span>
                </span>
                <span class="pf-v6-c-label__actions">
                  <button
                    class="pf-v6-c-button pf-m-plain pf-m-no-padding"
                    type="button"
                    aria-labelledby="text-input-group-filters-expanded-label-group-remove_label_five_select_collapsed text-input-group-filters-expanded-label-group-label_five_select_collapsed"
                    aria-label="Remove"
                    id="text-input-group-filters-expanded-label-group-remove_label_five_select_collapsed"
                  >
                    <i class="fas fa-times" aria-hidden="true"></i>
                  </button>
                </span>
              </span>
            </span>
          </li>
          <li class="pf-v6-c-label-group__list-item">
            <span class="pf-v6-c-label pf-m-outline">
              <span class="pf-v6-c-label__content">
                <span class="pf-v6-c-label__content">
                  <span
                    class="pf-v6-c-label__text"
                    id="text-input-group-filters-expanded-label-group-label_six_select_collapsed"
                  >Label six</span>
                </span>
                <span class="pf-v6-c-label__actions">
                  <button
                    class="pf-v6-c-button pf-m-plain pf-m-no-padding"
                    type="button"
                    aria-labelledby="text-input-group-filters-expanded-label-group-remove_label_six_select_collapsed text-input-group-filters-expanded-label-group-label_six_select_collapsed"
                    aria-label="Remove"
                    id="text-input-group-filters-expanded-label-group-remove_label_six_select_collapsed"
                  >
                    <i class="fas fa-times" aria-hidden="true"></i>
                  </button>
                </span>
              </span>
            </span>
          </li>
          <li class="pf-v6-c-label-group__list-item">
            <span class="pf-v6-c-label pf-m-outline">
              <span class="pf-v6-c-label__content">
                <span class="pf-v6-c-label__content">
                  <span
                    class="pf-v6-c-label__text"
                    id="text-input-group-filters-expanded-label-group-label_seven_select_collapsed"
                  >Label seven</span>
                </span>
                <span class="pf-v6-c-label__actions">
                  <button
                    class="pf-v6-c-button pf-m-plain pf-m-no-padding"
                    type="button"
                    aria-labelledby="text-input-group-filters-expanded-label-group-remove_label_seven_select_collapsed text-input-group-filters-expanded-label-group-label_seven_select_collapsed"
                    aria-label="Remove"
                    id="text-input-group-filters-expanded-label-group-remove_label_seven_select_collapsed"
                  >
                    <i class="fas fa-times" aria-hidden="true"></i>
                  </button>
                </span>
              </span>
            </span>
          </li>
          <li class="pf-v6-c-label-group__list-item">
            <span class="pf-v6-c-label pf-m-outline">
              <span class="pf-v6-c-label__content">
                <span class="pf-v6-c-label__content">
                  <span
                    class="pf-v6-c-label__text"
                    id="text-input-group-filters-expanded-label-group-label_eight_select_collapsed"
                  >Label eight</span>
                </span>
                <span class="pf-v6-c-label__actions">
                  <button
                    class="pf-v6-c-button pf-m-plain pf-m-no-padding"
                    type="button"
                    aria-labelledby="text-input-group-filters-expanded-label-group-remove_label_eight_select_collapsed text-input-group-filters-expanded-label-group-label_eight_select_collapsed"
                    aria-label="Remove"
                    id="text-input-group-filters-expanded-label-group-remove_label_eight_select_collapsed"
                  >
                    <i class="fas fa-times" aria-hidden="true"></i>
                  </button>
                </span>
              </span>
            </span>
          </li>
          <li class="pf-v6-c-label-group__list-item">
            <span class="pf-v6-c-label pf-m-outline">
              <span class="pf-v6-c-label__content">
                <span class="pf-v6-c-label__content">
                  <span
                    class="pf-v6-c-label__text"
                    id="text-input-group-filters-expanded-label-group-label_nine_select_collapsed"
                  >Label nine</span>
                </span>
                <span class="pf-v6-c-label__actions">
                  <button
                    class="pf-v6-c-button pf-m-plain pf-m-no-padding"
                    type="button"
                    aria-labelledby="text-input-group-filters-expanded-label-group-remove_label_nine_select_collapsed text-input-group-filters-expanded-label-group-label_nine_select_collapsed"
                    aria-label="Remove"
                    id="text-input-group-filters-expanded-label-group-remove_label_nine_select_collapsed"
                  >
                    <i class="fas fa-times" aria-hidden="true"></i>
                  </button>
                </span>
              </span>
            </span>
          </li>
          <li class="pf-v6-c-label-group__list-item">
            <span class="pf-v6-c-label pf-m-outline">
              <span class="pf-v6-c-label__content">
                <span class="pf-v6-c-label__content">
                  <span
                    class="pf-v6-c-label__text"
                    id="text-input-group-filters-expanded-label-group-label_ten_select_collapsed"
                  >Label ten</span>
                </span>
                <span class="pf-v6-c-label__actions">
                  <button
                    class="pf-v6-c-button pf-m-plain pf-m-no-padding"
                    type="button"
                    aria-labelledby="text-input-group-filters-expanded-label-group-remove_label_ten_select_collapsed text-input-group-filters-expanded-label-group-label_ten_select_collapsed"
                    aria-label="Remove"
                    id="text-input-group-filters-expanded-label-group-remove_label_ten_select_collapsed"
                  >
                    <i class="fas fa-times" aria-hidden="true"></i>
                  </button>
                </span>
              </span>
            </span>
          </li>
          <li class="pf-v6-c-label-group__list-item">
            <span class="pf-v6-c-label pf-m-outline">
              <span class="pf-v6-c-label__content">
                <span class="pf-v6-c-label__content">
                  <span
                    class="pf-v6-c-label__text"
                    id="text-input-group-filters-expanded-label-group-label_eleven_select_collapsed"
                  >Label eleven</span>
                </span>
                <span class="pf-v6-c-label__actions">
                  <button
                    class="pf-v6-c-button pf-m-plain pf-m-no-padding"
                    type="button"
                    aria-labelledby="text-input-group-filters-expanded-label-group-remove_label_eleven_select_collapsed text-input-group-filters-expanded-label-group-label_eleven_select_collapsed"
                    aria-label="Remove"
                    id="text-input-group-filters-expanded-label-group-remove_label_eleven_select_collapsed"
                  >
                    <i class="fas fa-times" aria-hidden="true"></i>
                  </button>
                </span>
              </span>
            </span>
          </li>
          <li class="pf-v6-c-label-group__list-item">
            <span class="pf-v6-c-label pf-m-outline">
              <span class="pf-v6-c-label__content">
                <span class="pf-v6-c-label__content">
                  <span
                    class="pf-v6-c-label__text"
                    id="text-input-group-filters-expanded-label-group-label_twelve_select_collapsed"
                  >Label twelve</span>
                </span>
                <span class="pf-v6-c-label__actions">
                  <button
                    class="pf-v6-c-button pf-m-plain pf-m-no-padding"
                    type="button"
                    aria-labelledby="text-input-group-filters-expanded-label-group-remove_label_twelve_select_collapsed text-input-group-filters-expanded-label-group-label_twelve_select_collapsed"
                    aria-label="Remove"
                    id="text-input-group-filters-expanded-label-group-remove_label_twelve_select_collapsed"
                  >
                    <i class="fas fa-times" aria-hidden="true"></i>
                  </button>
                </span>
              </span>
            </span>
          </li>
          <li class="pf-v6-c-label-group__list-item">
            <span class="pf-v6-c-label pf-m-outline">
              <span class="pf-v6-c-label__content">
                <span class="pf-v6-c-label__content">
                  <span
                    class="pf-v6-c-label__text"
                    id="text-input-group-filters-expanded-label-group-label_thirteen_select_collapsed"
                  >Label thirteen</span>
                </span>
                <span class="pf-v6-c-label__actions">
                  <button
                    class="pf-v6-c-button pf-m-plain pf-m-no-padding"
                    type="button"
                    aria-labelledby="text-input-group-filters-expanded-label-group-remove_label_thirteen_select_collapsed text-input-group-filters-expanded-label-group-label_thirteen_select_collapsed"
                    aria-label="Remove"
                    id="text-input-group-filters-expanded-label-group-remove_label_thirteen_select_collapsed"
                  >
                    <i class="fas fa-times" aria-hidden="true"></i>
                  </button>
                </span>
              </span>
            </span>
          </li>
          <li class="pf-v6-c-label-group__list-item">
            <span class="pf-v6-c-label pf-m-outline">
              <span class="pf-v6-c-label__content">
                <span class="pf-v6-c-label__content">
                  <span
                    class="pf-v6-c-label__text"
                    id="text-input-group-filters-expanded-label-group-label_fourteen_select_collapsed"
                  >Label fourteen</span>
                </span>
                <span class="pf-v6-c-label__actions">
                  <button
                    class="pf-v6-c-button pf-m-plain pf-m-no-padding"
                    type="button"
                    aria-labelledby="text-input-group-filters-expanded-label-group-remove_label_fourteen_select_collapsed text-input-group-filters-expanded-label-group-label_fourteen_select_collapsed"
                    aria-label="Remove"
                    id="text-input-group-filters-expanded-label-group-remove_label_fourteen_select_collapsed"
                  >
                    <i class="fas fa-times" aria-hidden="true"></i>
                  </button>
                </span>
              </span>
            </span>
          </li>
        </ul>
      </div>
    </div>
    <span class="pf-v6-c-text-input-group__text">
      <input
        class="pf-v6-c-text-input-group__text-input"
        type="text"
        value
        aria-label="Type to filter"
      />
    </span>
  </div>
  <div class="pf-v6-c-text-input-group__utilities">
    <button
      class="pf-v6-c-button pf-m-plain"
      type="button"
      aria-label="Clear input"
    >
      <i class="fas fa-times fa-fw" aria-hidden="true"></i>
    </button>
  </div>
</div>

```

### Autocomplete last option hint

```html
<div class="pf-v6-c-text-input-group">
  <div class="pf-v6-c-text-input-group__main">
    <span class="pf-v6-c-text-input-group__text">
      <input
        class="pf-v6-c-text-input-group__text-input pf-m-hint"
        type="text"
        value="appleseed"
        disabled
        aria-hidden="true"
      />
      <input
        class="pf-v6-c-text-input-group__text-input"
        type="text"
        value="apples"
        aria-label="Type to filter"
      />
    </span>
  </div>
</div>

```

### Search input group

```html
<div class="pf-v6-c-text-input-group">
  <div class="pf-v6-c-text-input-group__main pf-m-icon">
    <span class="pf-v6-c-text-input-group__text">
      <span class="pf-v6-c-text-input-group__icon">
        <i class="fas fa-fw fa-search"></i>
      </span>
      <input
        class="pf-v6-c-text-input-group__text-input"
        type="text"
        placeholder="Find by name"
        value
        aria-label="Search input"
      />
    </span>
  </div>
</div>

```

### Search input group, no match

```html
<div class="pf-v6-c-text-input-group">
  <div class="pf-v6-c-text-input-group__main pf-m-icon">
    <span class="pf-v6-c-text-input-group__text">
      <span class="pf-v6-c-text-input-group__icon">
        <i class="fas fa-fw fa-search"></i>
      </span>
      <input
        class="pf-v6-c-text-input-group__text-input"
        type="text"
        placeholder="Find by name"
        value="Joh"
        aria-label="Search input"
      />
    </span>
  </div>
  <div class="pf-v6-c-text-input-group__utilities">
    <button
      class="pf-v6-c-button pf-m-plain"
      type="button"
      aria-label="Clear input"
    >
      <i class="fas fa-times fa-fw" aria-hidden="true"></i>
    </button>
  </div>
</div>

```

### Search input group, match with result count

```html
<div class="pf-v6-c-text-input-group">
  <div class="pf-v6-c-text-input-group__main pf-m-icon">
    <span class="pf-v6-c-text-input-group__text">
      <span class="pf-v6-c-text-input-group__icon">
        <i class="fas fa-fw fa-search"></i>
      </span>
      <input
        class="pf-v6-c-text-input-group__text-input"
        type="text"
        placeholder="Find by name"
        value="John Doe"
        aria-label="Search input"
      />
    </span>
  </div>
  <div class="pf-v6-c-text-input-group__utilities">
    <span class="pf-v6-c-badge pf-m-read">3</span>
    <button
      class="pf-v6-c-button pf-m-plain"
      type="button"
      aria-label="Clear input"
    >
      <i class="fas fa-times fa-fw" aria-hidden="true"></i>
    </button>
  </div>
</div>

```

### Search input group, match with navigable options

```html
<div class="pf-v6-c-text-input-group">
  <div class="pf-v6-c-text-input-group__main pf-m-icon">
    <span class="pf-v6-c-text-input-group__text">
      <span class="pf-v6-c-text-input-group__icon">
        <i class="fas fa-fw fa-search"></i>
      </span>
      <input
        class="pf-v6-c-text-input-group__text-input"
        type="text"
        placeholder="Find by name"
        value="John Doe"
        aria-label="Search input"
      />
    </span>
  </div>
  <div class="pf-v6-c-text-input-group__utilities">
    <span class="pf-v6-c-badge pf-m-read">1 / 3</span>
    <button
      class="pf-v6-c-button pf-m-plain"
      type="button"
      aria-label="Clear input"
    >
      <i class="fas fa-times fa-fw" aria-hidden="true"></i>
    </button>
  </div>
</div>

```

### Search input group, expandable

```html
<h3>Collapsed</h3>
<br />
<div class="pf-v6-c-input-group pf-m-plain">
  <div class="pf-v6-c-input-group__item pf-m-plain">
    <button
      class="pf-v6-c-button pf-m-plain"
      type="button"
      aria-label="Open search"
    >
      <i class="fas fa-fw fa-search" aria-hidden="true"></i>
    </button>
  </div>
</div>
<br />
<br />
<h3>Expanded</h3>
<br />
<div class="pf-v6-c-input-group pf-m-plain">
  <div class="pf-v6-c-input-group__item pf-m-fill">
    <div class="pf-v6-c-text-input-group">
      <div class="pf-v6-c-text-input-group__main pf-m-icon">
        <span class="pf-v6-c-text-input-group__text">
          <span class="pf-v6-c-text-input-group__icon">
            <i class="fas fa-fw fa-search"></i>
          </span>
          <input
            class="pf-v6-c-text-input-group__text-input"
            type="text"
            placeholder="Search"
            value
            aria-label="Search input"
          />
        </span>
      </div>
    </div>
  </div>
  <div class="pf-v6-c-input-group__item pf-m-plain">
    <button class="pf-v6-c-button pf-m-plain" type="button" aria-label="Close">
      <i class="fas fa-times" aria-hidden="true"></i>
    </button>
  </div>
</div>

```

### Search input group, with submit button

```html
<div class="pf-v6-c-input-group">
  <div class="pf-v6-c-input-group__item pf-m-fill">
    <div class="pf-v6-c-text-input-group">
      <div class="pf-v6-c-text-input-group__main pf-m-icon">
        <span class="pf-v6-c-text-input-group__text">
          <span class="pf-v6-c-text-input-group__icon">
            <i class="fas fa-fw fa-search"></i>
          </span>
          <input
            class="pf-v6-c-text-input-group__text-input"
            type="text"
            placeholder="Find by name"
            value
            aria-label="Search input"
          />
        </span>
      </div>
    </div>
  </div>
  <div class="pf-v6-c-input-group__item">
    <button
      class="pf-v6-c-button pf-m-control"
      type="submit"
      aria-label="Search"
    >
      <i class="fas fa-arrow-right" aria-hidden="true"></i>
    </button>
  </div>
</div>

```

### Search input group, advanced search

```html
<div class="pf-v6-c-input-group">
  <div class="pf-v6-c-input-group__item pf-m-fill">
    <div class="pf-v6-c-text-input-group">
      <div class="pf-v6-c-text-input-group__main pf-m-icon">
        <span class="pf-v6-c-text-input-group__text">
          <span class="pf-v6-c-text-input-group__icon">
            <i class="fas fa-fw fa-search"></i>
          </span>
          <input
            class="pf-v6-c-text-input-group__text-input"
            type="text"
            value="username:root firstname:ned"
            aria-label="Search input"
          />
        </span>
      </div>
      <div class="pf-v6-c-text-input-group__utilities">
        <button
          class="pf-v6-c-button pf-m-plain"
          type="button"
          aria-label="Clear input"
        >
          <i class="fas fa-times fa-fw" aria-hidden="true"></i>
        </button>
      </div>
    </div>
  </div>
  <div class="pf-v6-c-input-group__item">
    <button
      class="pf-v6-c-button pf-m-control"
      type="button"
      aria-expanded="false"
      aria-label="Advanced search"
    >
      <i class="fas fa-caret-down" aria-hidden="true"></i>
    </button>
  </div>
  <div class="pf-v6-c-input-group__item">
    <button
      class="pf-v6-c-button pf-m-control"
      type="submit"
      aria-label="Search"
    >
      <i class="fas fa-arrow-right" aria-hidden="true"></i>
    </button>
  </div>
</div>

```

### Search input group, advanced search expanded

```html
<div class="pf-v6-c-input-group">
  <div class="pf-v6-c-input-group__item pf-m-fill">
    <div class="pf-v6-c-text-input-group">
      <div class="pf-v6-c-text-input-group__main pf-m-icon">
        <span class="pf-v6-c-text-input-group__text">
          <span class="pf-v6-c-text-input-group__icon">
            <i class="fas fa-fw fa-search"></i>
          </span>
          <input
            class="pf-v6-c-text-input-group__text-input"
            type="text"
            value="username:root firstname:ned"
            aria-label="Search input"
          />
        </span>
      </div>
      <div class="pf-v6-c-text-input-group__utilities">
        <button
          class="pf-v6-c-button pf-m-plain"
          type="button"
          aria-label="Clear input"
        >
          <i class="fas fa-times fa-fw" aria-hidden="true"></i>
        </button>
      </div>
    </div>
  </div>
  <div class="pf-v6-c-input-group__item">
    <button
      class="pf-v6-c-button pf-m-control pf-m-expanded"
      type="button"
      aria-expanded="true"
      aria-label="Advanced search"
    >
      <i class="fas fa-caret-down" aria-hidden="true"></i>
    </button>
  </div>
  <div class="pf-v6-c-input-group__item">
    <button
      class="pf-v6-c-button pf-m-control"
      type="submit"
      aria-label="Search"
    >
      <i class="fas fa-arrow-right" aria-hidden="true"></i>
    </button>
  </div>
</div>

<div class="pf-v6-c-panel pf-m-raised">
  <div class="pf-v6-c-panel__main">
    <div class="pf-v6-c-panel__main-body">
      <form class="pf-v6-c-form" novalidate>
        <div class="pf-v6-c-form__group">
          <div class="pf-v6-c-form__group-label"><label
              class="pf-v6-c-form__label"
              for="text-input-group-advanced-search-input-expanded-legacy-form-example-username"
            >
              <span class="pf-v6-c-form__label-text">Username</span></label>
          </div>
          <div class="pf-v6-c-form__group-control">
            <span class="pf-v6-c-form-control">
              <input
                type="text"
                value="root"
                id="text-input-group-advanced-search-input-expanded-legacy-form-example-username"
                name="text-input-group-advanced-search-input-expanded-legacy-form-example-username"
              />
            </span>
          </div>
        </div>
        <div class="pf-v6-c-form__group">
          <div class="pf-v6-c-form__group-label"><label
              class="pf-v6-c-form__label"
              for="text-input-group-advanced-search-input-expanded-legacy-form-example-firstname"
            >
              <span class="pf-v6-c-form__label-text">First name</span></label>
          </div>
          <div class="pf-v6-c-form__group-control">
            <span class="pf-v6-c-form-control">
              <input
                type="text"
                value="ned"
                id="text-input-group-advanced-search-input-expanded-legacy-form-example-firstname"
                name="text-input-group-advanced-search-input-expanded-legacy-form-example-firstname"
              />
            </span>
          </div>
        </div>
        <div class="pf-v6-c-form__group">
          <div class="pf-v6-c-form__group-label"><label
              class="pf-v6-c-form__label"
              for="text-input-group-advanced-search-input-expanded-legacy-form-example-group"
            >
              <span class="pf-v6-c-form__label-text">Group</span></label>
          </div>
          <div class="pf-v6-c-form__group-control">
            <span class="pf-v6-c-form-control">
              <input
                type="text"
                id="text-input-group-advanced-search-input-expanded-legacy-form-example-group"
                name="text-input-group-advanced-search-input-expanded-legacy-form-example-group"
              />
            </span>
          </div>
        </div>
        <div class="pf-v6-c-form__group">
          <div class="pf-v6-c-form__group-label"><label
              class="pf-v6-c-form__label"
              for="text-input-group-advanced-search-input-expanded-legacy-form-example-email"
            >
              <span class="pf-v6-c-form__label-text">Email</span></label>
          </div>
          <div class="pf-v6-c-form__group-control">
            <span class="pf-v6-c-form-control">
              <input
                type="text"
                id="text-input-group-advanced-search-input-expanded-legacy-form-example-email"
                name="text-input-group-advanced-search-input-expanded-legacy-form-example-email"
              />
            </span>
          </div>
        </div>
        <div class="pf-v6-c-form__group pf-m-action">
          <div class="pf-v6-c-form__actions">
            <button class="pf-v6-c-button pf-m-primary" type="submit">Submit</button>
            <button class="pf-v6-c-button pf-m-link" type="reset">Reset</button>
          </div>
        </div>
      </form>
    </div>
  </div>
</div>

```

### Search input group, autocomplete

```html
<div class="pf-v6-c-text-input-group">
  <div class="pf-v6-c-text-input-group__main pf-m-icon">
    <span class="pf-v6-c-text-input-group__text">
      <span class="pf-v6-c-text-input-group__icon">
        <i class="fas fa-fw fa-search"></i>
      </span>
      <input
        class="pf-v6-c-text-input-group__text-input"
        type="text"
        value="app"
        aria-label="Search input"
      />
    </span>
  </div>
  <div class="pf-v6-c-text-input-group__utilities">
    <button
      class="pf-v6-c-button pf-m-plain"
      type="button"
      aria-label="Clear input"
    >
      <i class="fas fa-times fa-fw" aria-hidden="true"></i>
    </button>
  </div>
</div>

<div class="pf-v6-c-menu">
  <div class="pf-v6-c-menu__content">
    <ul class="pf-v6-c-menu__list" role="menu">
      <li class="pf-v6-c-menu__list-item" role="none">
        <button class="pf-v6-c-menu__item" type="button" role="menuitem">
          <span class="pf-v6-c-menu__item-main">
            <span class="pf-v6-c-menu__item-text">apple</span>
          </span>
        </button>
      </li>
      <li class="pf-v6-c-menu__list-item" role="none">
        <button class="pf-v6-c-menu__item" type="button" role="menuitem">
          <span class="pf-v6-c-menu__item-main">
            <span class="pf-v6-c-menu__item-text">appleby</span>
          </span>
        </button>
      </li>
      <li class="pf-v6-c-menu__list-item" role="none">
        <button class="pf-v6-c-menu__item" type="button" role="menuitem">
          <span class="pf-v6-c-menu__item-main">
            <span class="pf-v6-c-menu__item-text">appleseed</span>
          </span>
        </button>
      </li>
      <li class="pf-v6-c-menu__list-item" role="none">
        <button class="pf-v6-c-menu__item" type="button" role="menuitem">
          <span class="pf-v6-c-menu__item-main">
            <span class="pf-v6-c-menu__item-text">appleton</span>
          </span>
        </button>
      </li>
    </ul>
  </div>
</div>

```

### Search input group, autocomplete last option hint

```html
<div class="pf-v6-c-text-input-group">
  <div class="pf-v6-c-text-input-group__main pf-m-icon">
    <span class="pf-v6-c-text-input-group__text">
      <span class="pf-v6-c-text-input-group__icon">
        <i class="fas fa-fw fa-search"></i>
      </span>
      <input
        class="pf-v6-c-text-input-group__text-input pf-m-hint"
        type="text"
        value="appleseed"
        disabled
        aria-hidden="true"
      />
    </span>
  </div>
  <div class="pf-v6-c-text-input-group__utilities">
    <button
      class="pf-v6-c-button pf-m-plain"
      type="button"
      aria-label="Clear input"
    >
      <i class="fas fa-times fa-fw" aria-hidden="true"></i>
    </button>
  </div>
</div>

<div class="pf-v6-c-menu">
  <div class="pf-v6-c-menu__content">
    <ul class="pf-v6-c-menu__list" role="menu">
      <li class="pf-v6-c-menu__list-item" role="none">
        <button class="pf-v6-c-menu__item" type="button" role="menuitem">
          <span class="pf-v6-c-menu__item-main">
            <span class="pf-v6-c-menu__item-text">appleseed</span>
          </span>
        </button>
      </li>
    </ul>
  </div>
</div>

```

### Search input group, advanced search expanded with autocomplete

```html
<div class="ws-example-wrapper">
  <div class="pf-v6-c-input-group">
    <div class="pf-v6-c-input-group__item pf-m-fill">
      <div class="pf-v6-c-text-input-group">
        <div class="pf-v6-c-text-input-group__main pf-m-icon">
          <span class="pf-v6-c-text-input-group__text">
            <span class="pf-v6-c-text-input-group__icon">
              <i class="fas fa-fw fa-search"></i>
            </span>
            <input
              class="pf-v6-c-text-input-group__text-input"
              type="text"
              value="username:root firstname:n"
              aria-label="Search input"
            />
          </span>
        </div>
        <div class="pf-v6-c-text-input-group__utilities">
          <button
            class="pf-v6-c-button pf-m-plain"
            type="button"
            aria-label="Clear input"
          >
            <i class="fas fa-times fa-fw" aria-hidden="true"></i>
          </button>
        </div>
      </div>
    </div>
    <div class="pf-v6-c-input-group__item">
      <button
        class="pf-v6-c-button pf-m-control pf-m-expanded"
        type="button"
        aria-expanded="true"
        aria-label="Advanced search"
      >
        <i class="fas fa-caret-down" aria-hidden="true"></i>
      </button>
    </div>
    <div class="pf-v6-c-input-group__item">
      <button
        class="pf-v6-c-button pf-m-control"
        type="submit"
        aria-label="Search"
      >
        <i class="fas fa-arrow-right" aria-hidden="true"></i>
      </button>
    </div>
  </div>

  <div class="pf-v6-c-panel pf-m-raised">
    <div class="pf-v6-c-panel__main">
      <div class="pf-v6-c-panel__main-body">
        <form class="pf-v6-c-form" novalidate>
          <div class="pf-v6-c-form__group">
            <div class="pf-v6-c-form__group-label"><label
                class="pf-v6-c-form__label"
                for="text-input-group-advanced-search-input-form-with-autocomplete-example-username"
              >
                <span class="pf-v6-c-form__label-text">Username</span></label>
            </div>
            <div class="pf-v6-c-form__group-control">
              <span class="pf-v6-c-form-control">
                <input
                  type="text"
                  value="root"
                  id="text-input-group-advanced-search-input-form-with-autocomplete-example-username"
                  name="text-input-group-advanced-search-input-form-with-autocomplete-example-username"
                />
              </span>
            </div>
          </div>
          <div class="pf-v6-c-form__group">
            <div class="pf-v6-c-form__group-label"><label
                class="pf-v6-c-form__label"
                for="text-input-group-advanced-search-input-form-with-autocomplete-example-firstname"
              >
                <span class="pf-v6-c-form__label-text">First name</span></label>
            </div>
            <div class="pf-v6-c-form__group-control">
              <span class="pf-v6-c-form-control">
                <input
                  type="text"
                  value="ned"
                  id="text-input-group-advanced-search-input-form-with-autocomplete-example-firstname"
                  name="text-input-group-advanced-search-input-form-with-autocomplete-example-firstname"
                />
              </span>
            </div>
          </div>
          <div class="pf-v6-c-form__group">
            <div class="pf-v6-c-form__group-label"><label
                class="pf-v6-c-form__label"
                for="text-input-group-advanced-search-input-form-with-autocomplete-example-group"
              >
                <span class="pf-v6-c-form__label-text">Group</span></label>
            </div>
            <div class="pf-v6-c-form__group-control">
              <span class="pf-v6-c-form-control">
                <input
                  type="text"
                  id="text-input-group-advanced-search-input-form-with-autocomplete-example-group"
                  name="text-input-group-advanced-search-input-form-with-autocomplete-example-group"
                />
              </span>
            </div>
          </div>
          <div class="pf-v6-c-form__group">
            <div class="pf-v6-c-form__group-label"><label
                class="pf-v6-c-form__label"
                for="text-input-group-advanced-search-input-form-with-autocomplete-example-email"
              >
                <span class="pf-v6-c-form__label-text">Email</span></label>
            </div>
            <div class="pf-v6-c-form__group-control">
              <span class="pf-v6-c-form-control">
                <input
                  type="text"
                  id="text-input-group-advanced-search-input-form-with-autocomplete-example-email"
                  name="text-input-group-advanced-search-input-form-with-autocomplete-example-email"
                />
              </span>
            </div>
          </div>
          <div class="pf-v6-c-form__group pf-m-action">
            <div class="pf-v6-c-form__actions">
              <button class="pf-v6-c-button pf-m-primary" type="submit">Submit</button>
              <button class="pf-v6-c-button pf-m-link" type="reset">Reset</button>
            </div>
          </div>
        </form>
      </div>
    </div>
  </div>

  <div class="pf-v6-c-menu">
    <div class="pf-v6-c-menu__content">
      <ul class="pf-v6-c-menu__list" role="menu">
        <li class="pf-v6-c-menu__list-item" role="none">
          <button class="pf-v6-c-menu__item" type="button" role="menuitem">
            <span class="pf-v6-c-menu__item-main">
              <span class="pf-v6-c-menu__item-text">nancy</span>
            </span>
          </button>
        </li>
        <li class="pf-v6-c-menu__list-item" role="none">
          <button class="pf-v6-c-menu__item" type="button" role="menuitem">
            <span class="pf-v6-c-menu__item-main">
              <span class="pf-v6-c-menu__item-text">ned</span>
            </span>
          </button>
        </li>
        <li class="pf-v6-c-menu__list-item" role="none">
          <button class="pf-v6-c-menu__item" type="button" role="menuitem">
            <span class="pf-v6-c-menu__item-main">
              <span class="pf-v6-c-menu__item-text">neil</span>
            </span>
          </button>
        </li>
        <li class="pf-v6-c-menu__list-item" role="none">
          <button class="pf-v6-c-menu__item" type="button" role="menuitem">
            <span class="pf-v6-c-menu__item-main">
              <span class="pf-v6-c-menu__item-text">nicole</span>
            </span>
          </button>
        </li>
      </ul>
    </div>
  </div>
</div>

```
