Bootstrap 5 Forms
An symbol, text, or button can be added in front of or behind an input field as a “help text” using the .input-group class as a container to improve an input.
Use the .input-group-text class to style the given help text:
For small input groups, use the .input-group-sm class; for big input groups, use the .input-group-lg class:
Small
Default
Large
Add more than one input or add-on:
Person
One
Two
Three
In place of text, you may also utilize radio buttons or checkboxes:
CodingAsk.com is designed for learning and practice. Examples may be made simpler to aid understanding. Tutorials, references, and examples are regularly checked for mistakes, but we cannot guarantee complete accuracy. By using CodingAsk.com, you agree to our terms of use, cookie, and privacy policy.
Copyright 2010-2024 by Refsnes Data. All Rights Reserved.