title | metaTitle | metaDescription | githubUrl |
---|---|---|---|
InputGroup |
Bootstrap 5 InputGroup - Bootstrap CSS tutorial |
To capture user-entered data, the Bootstrap 5 Input group component is used. |
To capture user-entered data, the Bootstrap 5 Input group component is used. It typically includes buttons, text fields, and other inputs. Your forms will be visually appealing and simple to customize using this component.
This is the defualt InputGroup
<div class="input-group mb-3">
<input
type="text"
class="form-control"
placeholder="Recipient's username"
aria-label="Recipient's username"
aria-describedby="basic-addon2"
/>
<div class="input-group-append">
<span class="input-group-text" id="basic-addon2">@example.com</span>
</div>
</div>
<div class="input-group mb-3">
<div class="input-group-prepend">
<span class="input-group-text" id="basic-addon1">@</span>
</div>
<input
type="text"
class="form-control"
placeholder="Username"
aria-label="Username"
aria-describedby="basic-addon1"
/>
</div>