Add the disabled boolean attribute on an input to prevent user interactions and make it appear lighter. Option 2. By clicking Post Your Answer, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct. elements, that provide greater customization and cross browser consistency. Heads up! See the forms overview accessibility section for details. React Bootstrap 5 Checkbox component. These toggle buttons can further be grouped in a button group if needed. Group checkboxes or radios on the same horizontal row by adding .form-check-inline to any .form-check. If any one or more of the sub-options have a different state than the others, the owning checkbox is in the indeterminate state. Assistive technologies such as screen readers will have trouble with your forms if you dont include a label for every input. The .form-group class is the easiest way to add some structure to forms. As shown in the previous examples, our grid system allows you to place any number of .cols within a .row or .form-row. Add the disabled attribute and the associated